Uploaded image for project: 'Creative Pro by Nuxeo'
  1. Creative Pro by Nuxeo
  2. NBM-434

Don't use generic header "X-NXfetch.document": "properties"

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.2
    • Component/s: UI

      Description

      Using this header with generic 'properties' instead of a list of properties resolves all external entities and will cause performance problems later,

      see https://jira.nuxeo.com/browse/NXP-16066 for all the fields that are resolved

      I think we can send a list where we need it .
      For example on the deliverable items:
      headers='

      {"X-NXfetch.document": "deliverable_item:format,deliverable_item:publicationTarget,deliverable_item:size", "X-NXtranslate.directoryEntry": "label"}

      '

      ( not sure about the synatx)

        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 - 2 hours
                  2h