Project

General

Profile

Actions

Bug #3498

closed

Some fields store value even in event of failed ajax

Added by krileon over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
07 May 2012
Due date:
% Done:

100%

Estimated time:

Description

Some fields (for example the Integer field) stores values even though validation failed.

Actions #1

Updated by krileon over 12 years ago

Field isn't actually updating, but then AJAX returned value is wrong. Refresh of the page shows the original correct value.

Actions #2

Updated by krileon over 12 years ago

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.

Actions #3

Updated by krileon over 12 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by krileon over 12 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF