Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.4.0, 4.5.0alpha, 4.5.0beta1, 4.5.0beta2, 4.7.0, 5.3, 5.4.5
-
None
Description
It seems that it is not possible to clear up an previously populated eZISBN datatype on a class. If the attribute is set to be optional, eZ Publish correctly accepts empty field (which was previously filled in with valid ISBN number), but stores the previous value, not the empty one.
I used this
https://github.com/anapol/ezpublish/commit/209b47464a0c5b7fed6e313ee6aafcffca2c4eed
as a temporary fix (not sure if it is correct, but for my case it does the job).
Steps to reproduce
On some class with ISBN datatype (ISBN13 type, not-required) add valid ISBN number. Store and edit again, try to remove the value by removing the previously entered value from the field. Store again - the original value shows up in the object, should be empty.