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

Default value are not properly initialized while using the REST API

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.10-HF10, 8.3
    • Component/s: Core, Rest API

      Description

      This ticket is a split part of NXP-19466.

      NXP-19466:

      • the default values are not initialized if the doc has not been read.
        > in any Importer
        > in the REST API
        > not in JSF (the doc are read by the engine)
      • null props are recognized as phantom
      • the default value is set for phantom props (so a null value set on a field with a default value results to the default value)

      This issue is about handling the case in the REST API because its isolated in the doc marshaller and can be fixed without refactoring the whole property/doc model.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d