Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ECA Guide
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Drupal
Documentation
ECA Guide
Commits
84e9dfcf
Commit
84e9dfcf
authored
1 year ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
#58
Add a troubleshoot section about workflow transitions
parent
b3d40a48
Branches
Branches containing commit
No related tags found
1 merge request
!87
Develop
Pipeline
#996100
passed
1 year ago
Stage: build
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/eca/troubleshooting.md
+13
-0
13 additions, 0 deletions
docs/eca/troubleshooting.md
include/plugins/eca_workflow/event/workflow_transition.md
+4
-0
4 additions, 0 deletions
include/plugins/eca_workflow/event/workflow_transition.md
mkdocs.yml
+2
-1
2 additions, 1 deletion
mkdocs.yml
with
19 additions
and
1 deletion
docs/eca/troubleshooting.md
+
13
−
0
View file @
84e9dfcf
...
...
@@ -53,3 +53,16 @@ https://www.example.com/admin/config/workflow/eca/process_someid/edit?eca_valida
Then you can make your corrections to the model and save it. From then on, you no longer need that query argument
anymore.
## Workflow transition sometimes not recognized
When using the workflows module from Drupal core together with content moderation, then the event
[
Workflow: state transition
](
/plugins/eca/workflow/events/workflow_transition
)
may not recognize
the changed state, because the pre-save method in Drupal core may load the wrong revision under certain
circumstances.
There is a fix in the works for Drupal 11, but it's not yet committed and is unlikely to be back ported to
Drupal 10 or even 9.
As a workaround, Drupal core can be patched with
[
this file
](
https://git.drupalcode.org/project/drupal/-/merge_requests/3599.diff
)
and which is discussed and provided by
[
this Drupal issue
](
https://www.drupal.org/project/drupal/issues/3346430
)
.
This diff is collapsed.
Click to expand it.
include/plugins/eca_workflow/event/workflow_transition.md
+
4
−
0
View file @
84e9dfcf
!!! warning "Drupal core bug prevents transition recognition under certain circumstances"
For more details, there is a workaround available which is described in the
[Troubleshooting Section](/eca/troubleshooting#workflow-transition-sometimes-not-recognized)
This diff is collapsed.
Click to expand it.
mkdocs.yml
+
2
−
1
View file @
84e9dfcf
site_name
:
ECA - Drupal Events, Conditions, Actions
site_url
:
https://ecaguide.org
site_description
:
Documentation for Drupal's ECA module and all the implemented modellers like Camunda or BPMN.iO
site_description
:
Documentation, tutorials and resources for Drupal's ECA module and its eco-system.
dev_addr
:
127.0.0.1:8000
theme
:
name
:
material
custom_dir
:
overrides
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment