-
Bug
-
Resolution: Fixed
-
Major
-
4.6.0
-
None
-
None
-
4.7.0 M1
If the right datasource contains an assignement linked to an unexisting profile, the migration will fail with the following error instead of ignoring the assignement.
Error while executing script to upgrade component 'web.rights' to version '20230203T0000'. Error : '', message : 'Cannot invoke "org.ametys.core.right.Profile.getId()" because "profile" is null'
- created by
-
CMS-11507 Add a right to access the "site map" tool
-
- Closed
-
This issue won't be fix in 4.6. To solve the error, one need to clean the datasource containing the profile and assignement.
To do so, list the existing profile :
List all profile registered in an assignement :
Remove all assignement for a profile that is not listed in the result of the first request.