-
Bug
-
Resolution: Fixed
-
Critical
-
2.19.0
-
None
-
None
-
4.10.1
-
Oui
On some projects, the automatic data migration script fails with following error:
2026-08-04 11:09:00,326 INFO [org.ametys.core.migration.MigrationEngine] (main;) Run action : Upgrade '20200101T0300' of type 'script' (Migrate site reference to string WORKSPACES-2004) 2026-08-04 11:09:00,562 ERROR [org.ametys.core.migration.MigrationEngine] (main;) Error during the automatic migration org.ametys.core.migration.MigrationException: Error while executing script to upgrade component 'plugin.workspaces.jcr.before' to version '20200101T0300'. Error : '', message : 'ametys:site', stacktrace : 'javax.jcr.PathNotFoundException: ametys:site Caused by: org.ametys.plugins.repository.AmetysRepositoryException: Unable to get the type of data 'ametys:site' in repository data at path '/ametys:root/ametys:plugins/workspaces/projects/XXXXXXXX (XXXXXXXXX)'. at org.ametys.plugins.repository.data.repositorydata.impl.JCRRepositoryData#getType:513 at org.ametys.plugins.repository.data.repositorydata.RepositoryData#getType:376 at org.ametys.plugins.repository.data.type.RepositoryModelItemType#isCompatible:42 at org.ametys.plugins.repository.data.holder.impl.DefaultDataHolder#lambda$_getType$2:493