alfonsodg / demo-web2py

Apache License 2.0
0 stars 0 forks source link

crud.update boolean field notnull and writeable=false form won't submit, bool feild vars seems to be erased #199

Open alfonsodg opened 10 years ago

alfonsodg commented 10 years ago

From ml.richa...@gmail.com on February 22, 2011 12:32:10

What steps will reproduce the problem? 1. Make a field of type boolean and notnull, required=True, requires=[IS_NOT_EMPTY]

  1. controller crud.update of the form that contained that field
  2. Load some records and try tu update them What is the expected output? What do you see instead? It should submit and leave the field as it was : TRUE or FALSE What version of the product are you using? On what operating system? Introduced in Web2py v1.91.6, still there in the v1.92.1 Please provide any additional information below. I attach an app with which it is possible to reproduce the problem try to edit the first record with : /default/update function

Richard

Attachment: web2py.app.boolean_pb_test.w2p

Original issue: http://code.google.com/p/web2py/issues/detail?id=201