Closed (fixed)
Project:
Workflow
Version:
8.x-1.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2024 at 14:46 UTC
Updated:
15 Mar 2024 at 14:59 UTC
Jump to comment: Most recent
There are several issue reporting problems with Route "entity.workflow_scheduled_transition.*".
In fact it should not exist at all. It has no function. All handling is done via the normal transition routes/forms.
Amongst others, it corrupts the 'normal' editing links in the Workflow History tab.
in src/Entity/WorkflowScheduledTransition.php:
@@ -38,11 +38,6 @@ use Drupal\Core\Field\BaseFieldDefinition;
* "bundle" = "wid",
* "langcode" = "langcode",
* },
- * links = {
- * "canonical" = "/workflow_transition/{workflow_scheduled_transition}",
- * "delete-form" = "/workflow_transition/{workflow_scheduled_transition}/delete",
- * "edit-form" = "/workflow_transition/{workflow_scheduled_transition}/edit",
- * },
* )
*/and in workflow.routing.yml:
-### Workflow Scheduled Transition CRUD
-entity.workflow_scheduled_transition.canonical:
- path: '/workflow_transition/{workflow_scheduled_transition}'
...
-entity.workflow_scheduled_transition.edit_form:
- path: '/workflow_transition/{workflow_scheduled_transition}/edit'
...
-
-entity.workflow_scheduled_transition.delete_form:
- path: '/workflow_transition/{workflow_scheduled_transition}/delete'
...
Comments
Comment #3
johnvComment #4
johnv