Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-373

Fix upgrade and validation of projects

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: None

      Description

      Upgrade is currently failing when some given project is not found:

      Caused by: org.nuxeo.studio.client.model.NoSuchProjectException: No such project IRD
      at org.nuxeo.studio.core.impl.NuxeoSession.getDocument(NuxeoSession.java:168)
      at org.nuxeo.studio.core.impl.NuxeoSession.getProjectSettings(NuxeoSession.java:155)
      at org.nuxeo.studio.core.impl.AbstractSession.getProject(AbstractSession.java:98)
      at org.nuxeo.studio.core.upgrade.UpgradeContext.<init>(UpgradeContext.java:62)
      at org.nuxeo.studio.core.upgrade.UpgradeContext.<init>(UpgradeContext.java:55)
      at org.nuxeo.studio.core.upgrade.PersistenceUpgradeService.upgradeAll(PersistenceUpgradeService.java:121)
      at org.nuxeo.studio.web.StudioAdmin.doUpgrade(StudioAdmin.java:97)

      + some NPEs happen in the document and search upgrade

      + upgraded files are not written correctly to the disk

      + revert does not put back files backed up...

        Attachments

          Activity

            People

            • Assignee:
              atchertchian Anahide Tchertchian
              Reporter:
              atchertchian Anahide Tchertchian
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: