Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-9250

Outgoing references extraction should be in a separate workflow function

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.5, 4.2.0
    • 4.1.3
    • None
    • None
    • 4.2 M5

      Not all content modifications are done through the EditContentFunction (like for import and synchronization for example), but on these modifications, we call a workflow action to define we have modify the content. Then we should be able to call a workflow function to extract outgoing references without passing through the EditContentFunction.

          [CMS-9250] Outgoing references extraction should be in a separate workflow function

          TODO before resolution :

          • Merge it on 4.1
          • Update the migration manual

          Bérénice Maurel added a comment - TODO before resolution : Merge it on 4.1 Update the migration manual

          Bérénice Maurel added a comment - - edited

          Migration technique

          Action de workflow de synchronisation

          Quelque soit le workflow, il faut ajouter à l'action de synchronisation 800 la post-fonction org.ametys.cms.workflow.ExtractOutgoingReferencesFunction :

          <action id="800" name="plugin.contentio:WORKFLOW_ACTION_SYNCHRONIZE">
              <restrict-to>
                  [...]
              </restrict-to>
              <results>
                  [...]
              </results>
              <post-functions>
                  <function type="avalon">
                      <arg name="role">org.ametys.cms.workflow.ExtractOutgoingReferencesFunction</arg>
                   </function>
                </post-functions>
          </action>

          Bérénice Maurel added a comment - - edited Migration technique Action de workflow de synchronisation Quelque soit le workflow, il faut ajouter à l'action de synchronisation 800 la post-fonction org.ametys.cms.workflow.ExtractOutgoingReferencesFunction : <action id= "800" name= "plugin.contentio:WORKFLOW_ACTION_SYNCHRONIZE" > <restrict-to> [...] </restrict-to> <results> [...] </results> <post-functions> <function type= "avalon" > <arg name= "role" >org.ametys.cms.workflow.ExtractOutgoingReferencesFunction</arg> </function> </post-functions> </action>

            bmaurel Bérénice Maurel
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: