Skip to content

Commit

Permalink
For #5066, fix call to new-to-edit process
Browse files Browse the repository at this point in the history
- Calling `process:runProcessByName()` was failing because the `process`
  prefix wasn't declared anymore.
- We should have been calling `fr:run-process-by-name()` anyway.
  • Loading branch information
avernet committed Dec 27, 2021
1 parent 61b80f8 commit 481142f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@
<xf:property name="data-or-draft" value="'draft'"/>
</xf:send>
<xf:dispatch name="fr-compute-authorized-operations" target="fr-persistence-model"/>
<xf:action type="xpath">process:runProcessByName('oxf.fr.detail.process', 'new-to-edit')</xf:action>
<xf:action type="xpath">fr:run-process-by-name('oxf.fr.detail.process', 'new-to-edit')</xf:action>
</xf:action>
</xf:trigger>
</xf:group>
Expand Down

0 comments on commit 481142f

Please sign in to comment.