Custom Query (58 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (55 - 57 of 58)

Ticket Resolution Summary Owner Reporter
#1519 fixed Validators & None problems apoirier sprat

Reported by sprat, 6 years ago.

Description

There are some problems when using a None value on some validators :

  • the StringValidator? accepts None as value but it fails on the not_empty check (not a ValueError?)
  • if we use strip/lstrip or rstrip and give a None value to the Validator, it raises an exception but not a ValueError?, so the Property.validate won't trap the error

I guess it should forbidden to use a None value in a validator but it would probably break existing projets, so I'm not sure what action should be taken.

#21 fixed wsgi.py - database.session.clear() called too late apoirier bertrand.croq

Reported by bertrand.croq, 10 years ago.

Description

In wsgi.py, database.session.clear() is called before phase1, but after security.set_user() is called. If the user is fetched from the database, this is a problem.

Shouldn't the session be cleared (or closed, as this seem to be prefered in  http://www.sqlalchemy.org/docs/04/session.html#unitofwork_using_expunge) at the end of each wsgi call ?

#19 fixed XHR Error on multiple input clicks in web browser apoirier PythonNutter

Reported by PythonNutter, 10 years ago.

Description

Counter Demo 3 http://www.nagare.org/demo/counter/3?_s=5982186019335081&_c=00035&_action452864488

Asynchronous clicking '++' rapidly will result in XHR Errors.

Note: See TracQuery for help on using queries.