Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-18898

Currently not possible to set empty a field that has a default value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Not A Bug
    • Affects Version/s: 7.10, 8.2-SNAPSHOT
    • Fix Version/s: None
    • Component/s: Core, Layouts & Widgets

      Description

      Setting a 'string' property with a default value to a blank string using a 'Text' widget should set the property to a blank string and not reset it to its default value

      How to reproduce:

      • define a new document type with a string property and define a default value for this property
      • in the edit layout, use a Text widget to edit the string property
      • deploy
      • create a document with the new document type and assign a value to the string property
      • edit the same document and set the text property to a blank value and save the document

      The text property is reset to its default value, it should contain a blank string.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 minute
                  1m