#1422: Exporting and value casting behavior swapped in AgaviBooleanValidator
------------------------+---------------------------------------------------
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 |
------------------------+---------------------------------------------------
Description changed by dominik:
Old description:
> 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
New description:
Setting the export attribute doesn't actually export anything but instead
triggers the original argument to be cast to a boolean value. [[BR]]
Unify behaviour with the number validator as follows:
- when exporting export the cast value but leave the original argument
untouched
- when not exporting cast the original argument to bool
--
--
Ticket URL: <http://trac.agavi.org/ticket/1422#comment:2>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets