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

ParametrizedCopy command does not work when MP needs restart

    Details

    • Type: Bug Bug
    • Status: Open
    • Severity: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.5
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Connect

      Description

      The parameters entered in the form are not saved and so the command fails after the restart.

      To be backported on 5.5.0
      (Concerns Shibboleth MP)

        Activity

        Hide
        Thomas Roger added a comment -

        Shibboleth MP aligned for 5.5 on branch 1.0:
        http://hg.nuxeo.org/marketplace/shibboleth-authentication/

        The package uses form and ParametrizedCopy command to copy those values in the config file.

        Show
        Thomas Roger added a comment - Shibboleth MP aligned for 5.5 on branch 1.0: http://hg.nuxeo.org/marketplace/shibboleth-authentication/ The package uses form and ParametrizedCopy command to copy those values in the config file.
        Hide
        Julien Carsique added a comment -

        Postponed: for now, the MP form must be removed and replaced with classic configuration (in nuxeo.conf).

        Later, there will be two steps for re-activating the MP forms:

        • use a serialized file instead of in-memory stored parameters
        • MP including forms will be deployed as "installed" but not "started", then a new view in the Admin Center will allow to fill the form.
        Show
        Julien Carsique added a comment - Postponed: for now, the MP form must be removed and replaced with classic configuration (in nuxeo.conf). Later, there will be two steps for re-activating the MP forms: use a serialized file instead of in-memory stored parameters MP including forms will be deployed as "installed" but not "started", then a new view in the Admin Center will allow to fill the form.
        Hide
        Ron ron added a comment -

        Julien, does a JIRA exist for the MP enhancements you describe above? Also, if MP forms are not currently working, it would be good to note that in the MP docs.

        Show
        Ron ron added a comment - Julien, does a JIRA exist for the MP enhancements you describe above? Also, if MP forms are not currently working, it would be good to note that in the MP docs.
        Hide
        Julien Carsique added a comment -

        The current Jira will be used (with new sub-tasks if needed) when we'll start working on the MP forms or when we'll have at least wrote the specifications of those enhancements and planned to work on them.

        I have created a Jira about updating the MP documentation which is really out-of-date: NXDOC-122. For now, the best documentation is to take example on the nuxeo-marketplace-sample project.

        About the MP forms, they are not working when their container package is installed in offline mode (Nuxeo server shut down). If you write a MP which declares itself as hot-reload-able and install it from the Admin Center (Nuxeo server up), then the forms must still work (else it's an issue we'll quickly fix). Even if the package is not "truly" hot-reload-able (some bundles or services not available until the server has restarted), a server restart after a hot-reload install of the MP will work, including the forms parameters being properly saved.

        Show
        Julien Carsique added a comment - The current Jira will be used (with new sub-tasks if needed) when we'll start working on the MP forms or when we'll have at least wrote the specifications of those enhancements and planned to work on them. I have created a Jira about updating the MP documentation which is really out-of-date: NXDOC-122 . For now, the best documentation is to take example on the nuxeo-marketplace-sample project . About the MP forms, they are not working when their container package is installed in offline mode (Nuxeo server shut down). If you write a MP which declares itself as hot-reload-able and install it from the Admin Center (Nuxeo server up), then the forms must still work (else it's an issue we'll quickly fix). Even if the package is not "truly" hot-reload-able (some bundles or services not available until the server has restarted), a server restart after a hot-reload install of the MP will work, including the forms parameters being properly saved.

          People

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

            Dates

            • Created:
              Updated:

              Time Tracking

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