Uploaded image for project: 'Repository'
  1. Repository
  2. REPOSITORY-467

Start a repo which requires a migration and dot not have the newversion flag yet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.4.0
    • None
    • None
    • None
    • 4.4 M3

       

      mandatory property {http://www.ametys.org/jcr/repository/1.0}newrepository does not exist

      2020-08-10 12:06:58,358 ERROR [org.ametys.runtime.servlet.RuntimeServlet] (main Error while loading Ametys. Entering in error mode.
      org.ametys.plugins.repository.AmetysRepositoryException: Unable to save changes
      at org.ametys.plugins.repository.jcr.SimpleAmetysObject.saveChanges(SimpleAmetysObject.java:208)
      at org.ametys.plugins.repository.migration.jcr.data.JcrDataVersionStorage._createComponentObject(JcrDataVersionStorage.java:246)
      at org.ametys.plugins.repository.migration.jcr.data.JcrDataVersionStorage.lambda$_getComponentObject$2(JcrDataVersionStorage.java:218)
      at java.base/java.util.Optional.orElseGet(Optional.java:369)
      at org.ametys.plugins.repository.migration.jcr.data.JcrDataVersionStorage._getComponentObject(JcrDataVersionStorage.java:218)
      at org.ametys.plugins.repository.migration.jcr.data.JcrDataVersionStorage.addVersion(JcrDataVersionStorage.java:157)
      at org.ametys.core.migration.handler.AbstractVersionHandler.addVersion(AbstractVersionHandler.java:92)
      at org.ametys.core.migration.MigrationExtensionPoint._upgradeVersion(MigrationExtensionPoint.java:279)
      at org.ametys.core.migration.MigrationExtensionPoint._applyInitializationActions(MigrationExtensionPoint.java:224)
      at org.ametys.core.migration.MigrationExtensionPoint.doMigration(MigrationExtensionPoint.java:155){{}}

            Unassigned Unassigned
            raphael Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: