Make upgrade code safer
-----------------------

                 Key: NXS-373
                 URL: https://jira.nuxeo.org/browse/NXS-373
             Project: Nuxeo Studio
          Issue Type: Bug
            Reporter: Anahide Tchertchian
            Assignee: Anahide Tchertchian
             Fix For: 1.6


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)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to