Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-86

Find a solution to bypass ServiceWorker for documents whose name end with .html

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.10
    • Fix Version/s: 2.4.34, 3.0.2
    • Component/s: UI
    • Release Notes Summary:
      It's possible to browse documents whose name ends with .html
    • Backlog priority:
      800

      Description

      Steps to reproduce:

      1. create a file whose name is note_example_HTML.html
      2. upload this file using the D&D
      3. create the document without setting the properties
      4. at the end, you are redirected to the newly created document
      5. observe that an error is displayed
        doc.contextParameters is undefined
        
        Could not load document.
        

      When using the Developer tools, we observe that:

      • the request is served by ServiceWorker
      • ServiceWorker sends the requested without the "enrichers" header, hence the missing data for the contextParameters

        Attachments

        1. fetchfromSW.png
          59 kB
          Thierry Martins
        2. SWrequestWithoutEnrichers.png
          387 kB
          Thierry Martins

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 2 hours
                  2h