Yii 1.1.9 known issues
#1
Posted 05 January 2012 - 07:41 PM
- http://code.google.c.../detail?id=3070
If $form->error() is called without rendering the input field an JS error is fired.
- http://code.google.c.../detail?id=3071
beforeValidateAttribute and afterValidateAttribute are not called
Issues fixed in r3529 - http://code.google.c...e/detail?r=3529
- http://www.yiiframew...p?/topic/27455-
Required fields are not validated if left empty
This issue is fixed in r3530 - http://code.google.c...e/detail?r=3530
Fixing the above issues (r3529) a new "bug" ws introduced, and validateOnType was not working
This is fixed in r3531 - http://code.google.c...e/detail?r=3531
------------------
To update just grab the latest jquery.yiiactiveform.js file and put it in your Yii folder.
Don't forget to clean the assets folder of your project(s)
#2
Posted 07 January 2012 - 07:00 AM
if(!o.length) return undefined;
This does not work with input type file. Because there is o but there is not o[0].
The bug still exist if you set validateOnType = true.
#3
Posted 07 January 2012 - 08:22 AM
can you post your code so I can check what is the problem here...
#4
Posted 07 January 2012 - 12:05 PM
'validateOnType' => true
You are going here :
if (this.validateOnType) {
$form.find('#' + this.inputID).keyup(function () {
if (attribute.value !== getAFValue($(attribute))) {
validate(attribute, false);
}
});
}
But when you calling $(attribute) and passing it to getAFValue($(attribute)) there is no o[0].tagName and validation crashes.
And i have changed the code to this:
if (this.validateOnType) {
$form.find('#' + this.inputID).keyup(function () {
if (attribute.value !== getAFValue($('#' + attribute.inputID))) {
validate(attribute, false);
}
});
}
But you can fix it better way.
Best Regards
#5
Posted 07 January 2012 - 01:21 PM
Thanks for reporting this...
Now it's fixed - http://code.google.c...e/detail?r=3531
#7
Posted 09 January 2012 - 12:43 PM
#10
Posted 10 January 2012 - 07:44 AM
#11
Posted 23 January 2012 - 10:13 AM
Da:Sourcerer, on 09 January 2012 - 12:43 PM, said:
official reply?
ASAP-As Soon As Possible
http://www.yiiframew...oc/cookbook/71/
http://hmsegura.blogspot.com/
#12
Posted 23 January 2012 - 04:11 PM
#13
Posted 23 January 2012 - 04:53 PM
#15
Posted 13 February 2012 - 02:46 AM
We where waiting a bit more to see if there will be some more bug issues about the 1.1.9 version so to release a version as stable as possible...

Help














