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

Fix Web UI preview in pull requests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.10
    • Fix Version/s: 3.0.12
    • Component/s: CI/CD

      Description

      Web UI previews are broken due to a missing /elements/ replace in index.html, that is used both locally and for the previews. It seems this problem was introduced by this https://github.com/nuxeo/nuxeo-web-ui/blob/maintenance-3.0.x/index.html#L124.

      There a couple of possible solutions to fix the problem: 

      • replace the elements on index.html as we do for elements
      • prevent the nginx server from replying 404 requests with index.html. by replacing the line with:
      try_files $uri $uri/ =404;

        Attachments

          Activity

            People

            • Assignee:
              rdias Ricardo Dias
              Reporter:
              rdias Ricardo Dias
              Participants:
              Reviewers:
              Gabriel Barata, Samuel Fialho
            • Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 15 minutes
                15m