-
Bug
-
Resolution: Fixed
-
Major
-
2.5.1
-
None
-
None
Suite à la correction d' ODF-1153 dans la GlobalCDMFrImportManager
le rôle a été changé :
@SuppressWarnings("hiding") public static final String ROLE = GlobalCDMFrImportManager.class.getName();
J'ai l'erreur suivante :
Caused by: org.apache.avalon.framework.component.ComponentException: Could not find component (key [org.ametys.plugins.odfsync.cdmfr.GlobalCDMFrImportManager]) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:265) at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:354) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:72)
Dans le projet j'ai dû modifier le rôle afin que l'application se lance.
<component class="org.ametys.plugins.enac.importODF.ENACImportManager" role="org.ametys.plugins.odfsync.cdmfr.CDMFrImportManager"> <program-workflow-name>program</program-workflow-name> <course-workflow-name>course</course-workflow-name> <orgunit-workflow-name>orgunit</orgunit-workflow-name> <person-workflow-name>person</person-workflow-name> </component>
en
<component class="org.ametys.plugins.enac.importODF.ENACImportManager" role="org.ametys.plugins.odfsync.cdmfr.GlobalCDMFrImportManager"> <program-workflow-name>program</program-workflow-name> <course-workflow-name>course</course-workflow-name> <orgunit-workflow-name>orgunit</orgunit-workflow-name> <person-workflow-name>person</person-workflow-name> </component>