Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
On Drupal 4.7.5, with PHP 4.4.4 on a Linux/Apache server running version 4.1.21 of MySQL
Whenever I delete an action from a transition, the resulting page's Add buttons have the wrong form action property. An extra slash (/) is added in front of the url.
before action deletion
<form action="/admin/workflow/actions/2" method="post" id="workflow_actions_20">
after action deletion
<form action="//admin/workflow/actions/2" method="post" id="workflow_actions_20">
I have to go back to admin/workflow and click "actions" again for the page to work properly.
I am not sure where this is happening, but I am pretty sure it has to be in the workflow module.
Comments
Comment #1
jvandyk CreditAttribution: jvandyk commentedIn line 1205 of workflow.module, change '/admin/workflow/actions/' to 'admin/workflow/actions' and report back as to whether that fixes the problem.
Comment #2
ambereyes CreditAttribution: ambereyes commentedYup, that fixed it.
Comment #3
jvandyk CreditAttribution: jvandyk commentedFixed. Thanks.
Comment #4
(not verified) CreditAttribution: commented