-
Bug
-
Resolution: Unresolved
-
Major
-
3.6.0
-
None
How to reproduce :
Perform CSV import with following file :
title;id;abstract;hideTitle;role du responsable;sous entité;identifiant sous entité Mairie;M;"La mairie vous accueille de 9h à 16h";true;Maire;Pôle ressources;PR Pôle ressources;PR;;false;Responsable RH;; Pôle Aménagement;PA;;false;Directrice urbanisme et environnement;Direction de l'espace public;DEP
with following configuration
Make the import 2 times.
Open "Pôle Aménagement" entity => its sub-entity is present twice
Note : After that, an error occurs when trying to delete this entity.
An object id must conform to the <protocol>://<protocol-specific-part> syntax: DEP3 org.ametys.plugins.repository.AmetysRepositoryException: An object id must conform to the <protocol>://<protocol-specific-part> syntax: DEP3 at org.ametys.plugins.repository.AmetysObjectResolver.resolveById(AmetysObjectResolver.java:343) at org.ametys.cms.data.ContentValue.getContent(ContentValue.java:120) at org.ametys.plugins.userdirectory.OrganisationChartPageHandler.getChildContents(OrganisationChartPageHandler.java:172) at org.ametys.plugins.userdirectory.DeleteOrgUnitComponent._checkChildrenBeforeDeletion(DeleteOrgUnitComponent.java:159) at org.ametys.plugins.userdirectory.DeleteOrgUnitComponent._checkBeforeDeletion(DeleteOrgUnitComponent.java:92) at org.ametys.plugins.userdirectory.AbstractDeleteUDContentComponent.deleteContents(AbstractDeleteUDContentComponent.java:175) at org.ametys.plugins.userdirectory.clientsideelement.DeleteOrgUnitClientSideElement.deleteContents(DeleteOrgUnitClientSideElement.java:70)