Actions
Bug #3498
closedSome fields store value even in event of failed ajax
Description
Some fields (for example the Integer field) stores values even though validation failed.
Actions
Added by krileon about 13 years ago. Updated about 13 years ago.
Description
Some fields (for example the Integer field) stores values even though validation failed.
Field isn't actually updating, but then AJAX returned value is wrong. Refresh of the page shows the original correct value.
It's due to prepareFieldDataSave setting the value even on failure, but this is normal and fine for profile edit. Will need to cache and restore the value on error.