Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-18202

Impossible to clear previously populated ISBN datatype

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 4.4.0, 4.5.0alpha, 4.5.0beta1, 4.5.0beta2, 4.7.0, 5.3, 5.4.5
    • Fix Version/s: Customer request, 5.3.8, 5.4.6
    • Component/s: Misc
    • Labels:
      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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            mzbirka Petr Mifek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: