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

Fix hot reload of IDE dev bundles resources

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 5.5
    • Fix Version/s: None
    • Component/s: Runtime

      Description

      The reload methods called when using the IDE do not handle web resources properly.

      Since NXP-8852, web resources are handled by running the deployment-fragment instructions (by running the whole deployment preprocessor) when bundle is installed using the admin center. The same technique should be done to handle dev bundles defined by the IDE (either local or Studio bundles referenced)

      Web resources are copied using the deprecated ReloadService#installWebResources method, but the jar(s) should be copied to the nxserver/bundles directory instead, so that the deployment preprocessor can take the jar into account.

      This should handle hot reload of:

      • translations contributions
      • navigations contributions
      • any other hot-reloadable contribution declared using the deployment-fragment file.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.