Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[6.1] Fix workflow graph strings and assets#47248

Merged
tecpromotion merged 5 commits intojoomla:6.1-devfrom
Vikash-Kumar-23:fix-workflow-6.1
Mar 13, 2026
Merged

[6.1] Fix workflow graph strings and assets#47248
tecpromotion merged 5 commits intojoomla:6.1-devfrom
Vikash-Kumar-23:fix-workflow-6.1

Conversation

@Vikash-Kumar-23
Copy link
Copy Markdown

Pull Request resolves #47224

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

Testing Instructions

Install Joomla 6.1-dev.

Go to Content -> Articles -> Options.

Set Enable Workflows to No.

Open any article for editing.

View the page source (Ctrl+U) and search for workflow-graph.

Result: No assets or strings should be found.

Return to Options and set Enable Workflows to Yes.

Refresh the article edit page and view source again.

Result: workflow-graph-client assets should now be present, confirming the feature still works when enabled.

Actual result BEFORE applying this Pull Request

Even if workflow_enabled is off :
Screenshot (1582)
Screenshot (1584)

Expected result AFTER applying this Pull Request

if workflow_enabled is off:
Screenshot (1586)

if workflow_enabled is on:
Screenshot (1588)

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

Comment thread libraries/src/MVC/Model/WorkflowBehaviorTrait.php Outdated
@richard67 richard67 changed the title Fix workflow 6.1 [6.1] Fix workflow graph strings and assets Feb 28, 2026
@richard67 richard67 added bug and removed PR-5.4-dev labels Feb 28, 2026
@richard67
Copy link
Copy Markdown
Member

@Vikash-Kumar-23 When GitHub shows that the branch is not up to date, it does not need to use the branch update button every time. It is only a problem if there are conflicts shown, which is not the case here. SO no need to use the branch update button all the time.

@tecpromotion
Copy link
Copy Markdown
Contributor

@Dileepadari can you please check this PR. Thanks.

@Dileepadari
Copy link
Copy Markdown
Contributor

The workflow graph scripts are required only when workflows are enabled. Tested and confirmed that after this change the scripts and styles are no longer included unnecessarily. Thanks @Vikash-Kumar-23 for the pr.
Tested successfully on Joomla 6.1-dev.

@Dileepadari
Copy link
Copy Markdown
Contributor

I have tested this item ✅ successfully on de12316


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47248.

1 similar comment
@brianteeman
Copy link
Copy Markdown
Contributor

I have tested this item ✅ successfully on de12316


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47248.

@richard67
Copy link
Copy Markdown
Member

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47248.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Mar 13, 2026
@tecpromotion tecpromotion enabled auto-merge (squash) March 13, 2026 17:08
@tecpromotion tecpromotion added this to the Joomla! 6.1.0 milestone Mar 13, 2026
@tecpromotion
Copy link
Copy Markdown
Contributor

Thanks @Vikash-Kumar-23 and all testers.

@tecpromotion tecpromotion merged commit 4853992 into joomla:6.1-dev Mar 13, 2026
52 checks passed
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[6.1] workflow graph strings and assets

6 participants