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

Do not install MP including a form if not fulfilling conditions

    XMLWordPrintable

    Details

      Description

      Since 5.5 (see NXP-8241), install of Marketplace Packages including forms works only if:

      • not under Windows,
      • MP is hotreloadable,
      • and DEV mode is activated.

      When a restart is needed, it will fail with:

      Caused by: java.lang.NullPointerException
      	at org.nuxeo.common.utils.Vars$2.get(Vars.java:86)
      	at org.nuxeo.common.utils.Vars.resolveVar(Vars.java:148)
      	at org.nuxeo.common.utils.Vars.expand(Vars.java:112)
      	at org.nuxeo.common.utils.Vars.expand(Vars.java:83)
      	at org.nuxeo.common.utils.StringUtils.expandVars(StringUtils.java:225)
      	at org.nuxeo.connect.update.task.standalone.commands.ParameterizedCopy.getContentToCopy(ParameterizedCopy.java:68)
      	at org.nuxeo.connect.update.task.standalone.commands.Copy.doCopy(Copy.java:231)

      So, when a restart is needed (and thus the install won't work), refuse to install the package at all and provide a comprehensive error message instead.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jcarsique Julien Carsique
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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