?
avatar ceford
ceford
7 Jul 2020

Steps to reproduce the issue

Set Enable Workflows = Yes in Articles -> Options -> Integration
Enable Plugin
Do some experimentation with Workflows.
Set Enable Workflows to No
Select Articles or Featured Articles
Select an Article Checkbox
Open the Actions Toolbar button

Expected result

No Transitions

Actual result

Transitions before normal actions

System information (as much as possible)

Additional comments

transitions is set before calling test for workflow_enabled:
See line 89ff in Featured/HtmlView for example:

	$this->transitions   = $this->get('Transitions');
	$this->vote          = PluginHelper::isEnabled('content', 'vote');

	if (ComponentHelper::getParams('com_content')->get('workflow_enabled'))
	{
		PluginHelper::importPlugin('workflow');

		$this->transitions = $this->get('Transitions');
	}
avatar ceford ceford - open - 7 Jul 2020
avatar joomla-cms-bot joomla-cms-bot - labeled - 7 Jul 2020
avatar brianteeman
brianteeman - comment - 7 Jul 2020

Is this not what you are seeing?

image

image

avatar SharkyKZ
SharkyKZ - comment - 7 Jul 2020

It's on Featured Articles page only. @ceford do you want to make a PR?

avatar ceford
ceford - comment - 7 Jul 2020

I would prefer someone else to do the PR. I have only ever done one and it will take me hours to remember what to do and bring my clones up to date. I really should to do PRs more often!

avatar SharkyKZ SharkyKZ - change - 7 Jul 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-07-07 13:35:14
Closed_By SharkyKZ
avatar SharkyKZ
SharkyKZ - comment - 7 Jul 2020

Please test PR #30042.

avatar SharkyKZ SharkyKZ - close - 7 Jul 2020

Add a Comment

Login with GitHub to post a comment