ODF - Export CDMFr


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.

<function type="avalon">
<arg name="id">org.ametys.odf.cdmfr.DepositCDMFRFunction</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.

<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:

<common-action id="9001" />
Back to top