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

Backport deprecated property flag into 10.10

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF68
    • Component/s: Directory
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #74
    • Story Points:
      5

      Description

      Since NXP-27137 and https://github.com/nuxeo/nuxeo/commit/4da62a51259bd2204f9009f0ec5ad4d9df8f3eb6
      the AbstractProperty#isDeprecated has been optimized and is not building tons of XPath for nothing when there is no deprecated property.

      This could prevent some observed contention like this:

         java.lang.Thread.State: RUNNABLE
      	at java.lang.StringBuilder.append(StringBuilder.java:213)
      	at org.nuxeo.ecm.core.api.model.impl.AbstractProperty.getXPath(AbstractProperty.java:171)
      	at org.nuxeo.ecm.core.api.model.impl.AbstractProperty.getXPath(AbstractProperty.java:161)
      	at org.nuxeo.ecm.core.api.model.impl.AbstractProperty.isDeprecated(AbstractProperty.java:372)
      	at org.nuxeo.ecm.core.api.model.impl.AbstractProperty.setValueDeprecation(AbstractProperty.java:438)
      	at org.nuxeo.ecm.core.api.model.impl.AbstractProperty.setValue(AbstractProperty.java:426)
      	at org.nuxeo.ecm.core.api.model.impl.ListProperty.setValue(ListProperty.java:270)
      	at org.nuxeo.ecm.core.api.model.impl.AbstractProperty.setValue(AbstractProperty.java:465)
      	at org.nuxeo.ecm.core.api.impl.DataModelImpl.setData(DataModelImpl.java:101)
      	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.setProperty(DocumentModelImpl.java:790)
      	at org.nuxeo.directory.mongodb.MongoDBSession.doQuery(MongoDBSession.java:358)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: