This page should only be applied if the script assisted migration asks you to pass the manual migration code.20240829.ODF.ExportCDMFR
The following functions in the course lifecycle (program.xml) no longer exist. They must be deleted.
Oops!
Copy to clipboard failed. Open the code and copy it manually.<function type="avalon">
<arg name="id">org.ametys.odf.cdmfr.DepositCDMFRFunction</arg>
</function>
<function type="avalon">
<arg name="id">org.ametys.odf.cdmfr.DepositCDMFRFunction</arg>
</function>
<function type="avalon">
<arg name="id">org.ametys.odf.cdmfr.DepositCDMFRFunction</arg>
</function>
Oops!
Copy to clipboard failed. Open the code and copy it manually.<function type="avalon">
<arg name="id">org.ametys.odf.cdmfr.SendCDMFRFunction</arg>
</function>
<function type="avalon">
<arg name="id">org.ametys.odf.cdmfr.SendCDMFRFunction</arg>
</function>
<function type="avalon">
<arg name="id">org.ametys.odf.cdmfr.SendCDMFRFunction</arg>
</function>
In addition, the "unpublish" workflow action can be deleted. It is no longer used.
Oops!
Copy to clipboard failed. Open the code and copy it manually.<action id="9001" name="plugin.odf:WORKFLOW_ACTION_REPUBLISH">
<restrict-to>
<conditions type="AND">
<condition type="avalon">
<arg name="id">org.ametys.cms.workflow.ContentCheckRightsCondition</arg>
<arg name="right">ODF_Rights_Program_Validate</arg>
</condition>
<condition type="avalon">
<arg name="id">org.ametys.cms.workflow.LockCondition</arg>
</condition>
<condition type="avalon">
<arg name="id">org.ametys.cms.workflow.ValidateContentCondition</arg>
</condition>
<condition type="avalon">
<arg name="id">org.ametys.odf.workflow.PublishableODFContentCondition</arg>
</condition>
<condition type="avalon">
<arg name="id">org.ametys.cms.workflow.HasLiveLabelCondition</arg>
</condition>
</conditions>
</restrict-to>
<results>
<unconditional-result old-status=" " status=" " step="-1"/>
</results>
<post-functions>
<function type="avalon">
<arg name="id">org.ametys.odf.cdmfr.SendCDMFRFunction</arg>
</function>
<function type="avalon">
<arg name="id">org.ametys.odf.cdmfr.DepositCDMFRFunction</arg>
</function>
</post-functions>
</action>
<action id="9001" name="plugin.odf:WORKFLOW_ACTION_REPUBLISH">
<restrict-to>
<conditions type="AND">
<condition type="avalon">
<arg name="id">org.ametys.cms.workflow.ContentCheckRightsCondition</arg>
<arg name="right">ODF_Rights_Program_Validate</arg>
</condition>
<condition type="avalon">
<arg name="id">org.ametys.cms.workflow.LockCondition</arg>
</condition>
<condition type="avalon">
<arg name="id">org.ametys.cms.workflow.ValidateContentCondition</arg>
</condition>
<condition type="avalon">
<arg name="id">org.ametys.odf.workflow.PublishableODFContentCondition</arg>
</condition>
<condition type="avalon">
<arg name="id">org.ametys.cms.workflow.HasLiveLabelCondition</arg>
</condition>
</conditions>
</restrict-to>
<results>
<unconditional-result old-status=" " status=" " step="-1"/>
</results>
<post-functions>
<function type="avalon">
<arg name="id">org.ametys.odf.cdmfr.SendCDMFRFunction</arg>
</function>
<function type="avalon">
<arg name="id">org.ametys.odf.cdmfr.DepositCDMFRFunction</arg>
</function>
</post-functions>
</action>
<action id="9001" name="plugin.odf:WORKFLOW_ACTION_REPUBLISH">
<restrict-to>
<conditions type="AND">
<condition type="avalon">
<arg name="id">org.ametys.cms.workflow.ContentCheckRightsCondition</arg>
<arg name="right">ODF_Rights_Program_Validate</arg>
</condition>
<condition type="avalon">
<arg name="id">org.ametys.cms.workflow.LockCondition</arg>
</condition>
<condition type="avalon">
<arg name="id">org.ametys.cms.workflow.ValidateContentCondition</arg>
</condition>
<condition type="avalon">
<arg name="id">org.ametys.odf.workflow.PublishableODFContentCondition</arg>
</condition>
<condition type="avalon">
<arg name="id">org.ametys.cms.workflow.HasLiveLabelCondition</arg>
</condition>
</conditions>
</restrict-to>
<results>
<unconditional-result old-status=" " status=" " step="-1"/>
</results>
<post-functions>
<function type="avalon">
<arg name="id">org.ametys.odf.cdmfr.SendCDMFRFunction</arg>
</function>
<function type="avalon">
<arg name="id">org.ametys.odf.cdmfr.DepositCDMFRFunction</arg>
</function>
</post-functions>
</action>
Also delete calls to this action:
Oops!
Copy to clipboard failed. Open the code and copy it manually.<common-action id="9001" />
<common-action id="9001" />
<common-action id="9001" />