Bug with groups/validation

A place for users and developers of the Xataface to discuss and receive support.

Postby Gandalf » Wed Jul 12, 2006 1:40 am

This is Dataface 0.5.4 under XAMPP on Windows XP SP2.

Attributes bearing validators, e.g.,
validators:required = true
validators:minlength = 1
will not get validated if they are contained in a group.

To reproduce:
- Define a table with two attributes foo and bar
- Define validators for foo and bar
- Put foo into a group FooGroup, bar remains ungrouped
- Edit a record
- Leaving foo empty will be allowed, leaving bar empty not.

--gandalf.
Gandalf
 
Posts: 6
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Wed Jul 12, 2006 7:27 am

Thanks for the bug report. For future bug reports, please add them to the issue tracker at http://framework.weblite.ca/development/issue-tracker/.

This particular bug has been fixed in 0.6... i didn't realize I was going to take so long to release 0.6 so I didn't fix it in 0.5.x, because the fix was a little bit involved.
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 19 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved