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

Add a flag to enable document validation for all properties during creation

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.10-HF37, 8.10-HF19
    • Fix Version/s: 7.10-HF37, 8.10-HF23
    • Component/s: Core
    • Release Notes Summary:
      The validation of properties during creation is controlled by the property org.nuxeo.core.validate.dirty.only.creation
    • Upgrade notes:
      Hide

      If you want to enable the fix done by NXP-23267, you can contribute to ConfigurationService the org.nuxeo.core.validate.dirty.only.creation parameter with false value.

        <require>org.nuxeo.core.validation.create.document.dirty.contrib</require>
        <extension target="org.nuxeo.runtime.ConfigurationService" point="configuration">
          <property name="org.nuxeo.core.validate.dirty.only.creation">false</property>
        </extension>
      

      Note: This parameter won't be available after Nuxeo 9.10 - LTS 2017. Nuxeo will validate all properties from 9.10.

      Show
      If you want to enable the fix done by NXP-23267 , you can contribute to ConfigurationService the org.nuxeo.core.validate.dirty.only.creation parameter with false value. <require>org.nuxeo.core.validation.create.document.dirty.contrib</require> <extension target= "org.nuxeo.runtime.ConfigurationService" point= "configuration" > <property name= "org.nuxeo.core.validate.dirty.only.creation" > false </property> </extension> Note: This parameter won't be available after Nuxeo 9.10 - LTS 2017. Nuxeo will validate all properties from 9.10.
    • Sprint:
      nxcore 10.1.2
    • Story Points:
      1

      Description

      Since NXP-23267 we now check the whole set of document properties at creation. This improves data validation and fixes a data integrity issue.

      This could be seen as a breaking change since creation of an invalid document is now forbidden by the platform.

      Put a flag to enable this fix.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.