Log message #1485941

# At Username Text
# May 3rd 2010, 21:41 logart00 hello all
# Apr 30th 2010, 15:28 savant okay
# Apr 30th 2010, 15:28 ADmad savant: no, we are discussing a ticket regardign core
# Apr 30th 2010, 15:26 jose_zap maybe It was my fault :P
# Apr 30th 2010, 15:26 jose_zap ADmad: haha
# Apr 30th 2010, 15:25 savant are you all discussing the bakery?
# Apr 30th 2010, 15:25 ADmad i just copied one of the earlier case and modified so i blame you for it :P
# Apr 30th 2010, 15:24 jose_zap I think
# Apr 30th 2010, 15:24 jose_zap I'll commit the fix
# Apr 30th 2010, 15:24 ADmad mine ?
# Apr 30th 2010, 15:23 jose_zap The test case has a parenthese in a bad place
# Apr 30th 2010, 15:23 ADmad the suspense is killing me :)
# Apr 30th 2010, 15:23 jose_zap ADmad: I found why there were some funky thing in requiredField()
# Apr 30th 2010, 15:19 ADmad right
# Apr 30th 2010, 15:19 jose_zap magic
# Apr 30th 2010, 15:19 jose_zap it already does too much maginc
# Apr 30th 2010, 15:18 ADmad jose_zap: cool. lets see if he comes up anything else. as long as a field is not incorrect tagged as required i am fine with it. as for adding the required class we should stick to the pessimistic approach we currently have
# Apr 30th 2010, 15:16 jose_zap I think the same way
# Apr 30th 2010, 15:15 ADmad so there are possible grey areas and i think the code is fine the way it is
# Apr 30th 2010, 15:15 jose_zap yeah
# Apr 30th 2010, 15:14 ADmad *he should use
# Apr 30th 2010, 15:14 ADmad so if user wants to be sure of having the required class he use use the notEmpty rule imo
# Apr 30th 2010, 15:13 ADmad hmm yes it does in this case, but there can be other cases like say custom regex where empty is a valid value
# Apr 30th 2010, 15:12 jose_zap but allowEmpty does imply it, doesn't it?¡
# Apr 30th 2010, 15:12 ADmad it doesnt add the 'required' class because there is no 'notEmpty' rules
# Apr 30th 2010, 15:12 jose_zap no?
# Apr 30th 2010, 15:11 ADmad actually no
# Apr 30th 2010, 15:11 ADmad right it doesnt fail when it should
# Apr 30th 2010, 15:10 ADmad checking
# Apr 30th 2010, 15:10 jose_zap well it does not fail in my box
# Apr 30th 2010, 15:10 jose_zap it should fail, right?
# Apr 30th 2010, 15:10 jose_zap ADmad: try this, in the test you just have made... change allowEmpty => true for allowEmpty => false
# Apr 30th 2010, 15:09 jose_zap ok, fine
# Apr 30th 2010, 15:09 jose_zap And I'm not that sure becasue debugging the requiredFiled() method I have found some weird things
# Apr 30th 2010, 15:09 ADmad i already closed it. We can reopen if needed :)
# Apr 30th 2010, 15:08 jose_zap I want to be 100% sure
# Apr 30th 2010, 15:08 jose_zap haha
# Apr 30th 2010, 15:08 jose_zap I'm still not convinced
# Apr 30th 2010, 15:04 ADmad ok so good to close the ticket ?
# Apr 30th 2010, 15:03 jose_zap it was the id that was failing
# Apr 30th 2010, 15:03 jose_zap it passes