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

Fix document fetch headers in Aspera web ui

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.10
    • Fix Version/s: None
    • Component/s: Aspera Connector

      Description

      Some clients have problems with request headers that have a period character in them. Update code in the following places, replace 'fetch.document' with 'fetch-document'. 'enrichers.document' also needs to change (either to enrichers-document or its own 'enrichers' property, use discretion)

      nuxeo-aspera-web/src/main/resources/web/nuxeo.war/ui/aspera/nuxeo-aspera-upload-page.html
      34:      headers='{"fetch.document": "properties", "enrichers.document": "permissions,acls,userVisiblePermissions", "translate-directoryEntry": "label"}'
      40:      headers='{"fetch.document": "properties", "enrichers.document": "permissions,acls,userVisiblePermissions", "translate-directoryEntry": "label"}'
      
      nuxeo-aspera-web/src/main/resources/web/nuxeo.war/ui/aspera/nuxeo-aspera-transfer-page.html
      99:      headers='{"fetch.document": "properties", "enrichers.document": "permissions, acls, userVisiblePermissions, documentURL, transfers"}'
      
      nuxeo-aspera-web/src/main/resources/web/nuxeo.war/ui/document/transfer/nuxeo-transfer-view-layout.html
      69:      headers='{"fetch.document": "properties", "enrichers.document": "permissions,acls,userVisiblePermissions", "translate-directoryEntry": "label"}'
      
      nuxeo-aspera-web/src/main/resources/web/nuxeo.war/ui/aspera/bulkedit/nuxeo-aspera-bulk-edit.html
      64:    <nuxeo-document id="update" doc-id="[[transfer.uid]]" headers='{"fetch.document": "properties"}'> </nuxeo-document>
      
      nuxeo-aspera-web/src/main/resources/web/nuxeo.war/ui/aspera/nuxeo-aspera-connect.html
      22:    <nuxeo-document id="transferDocument" doc-id="[[transferDoc.uid]]" headers='{"fetch.document": "properties"}'>
      30:      headers='{"fetch.document": "properties", "enrichers.document": "permissions,acls,userVisiblePermissions", "translate-directoryEntry": "label"}'
      
      nuxeo-aspera-web/src/main/resources/web/nuxeo.war/ui/aspera/nuxeo-aspera-upload-edit-form.html
      59:    <nuxeo-document id="update" doc-id="[[document.uid]]" headers='{"fetch.document": "properties"}'> </nuxeo-document>
      
      nuxeo-aspera-web/src/main/resources/web/nuxeo.war/ui/aspera/bulkedit/nuxeo-aspera-single-edit-form.html
      72:    <nuxeo-document id="update" doc-id="[[document.uid]]" headers='{"fetch.document": "properties"}'> </nuxeo-document>
      

        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 - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 5 minutes
                  2h 5m