#1422: Exporting broken in boolean validator
------------------------+---------------------------------------------------
Reporter: dominik | Owner: dominik
Type: defect | Status: new
Priority: normal | Milestone: 1.0.7
Component: validation | Version: 1.0.6
Severity: normal | Keywords: bcbreak validation boolean
Has_patch: 0 |
------------------------+---------------------------------------------------
Setting the export attribute doesn't actually export anything but instead
triggers the original argument to be casted to a boolean value. [[BR]]
Unify behaviour with the number validator as follows:
- when exporting export the casted value but leave the original argument
untouched
- when not exporting cast the original argument to bool
--
Ticket URL: <http://trac.agavi.org/ticket/1422>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets