Skip to content
This repository was archived by the owner on Oct 1, 2020. It is now read-only.

Conversation

@LuanPeixotop
Copy link

refs #https://www.redmine.org/issues/24281

PROBLEM

In Redmine version 3.4 they added a function in the workflows controller to not show irrelevant permissions, but the redmine_workflow_enhancements plugin did not expect the workflow controller to search for the possible situations for a call type when displaying a workflow. With this, Redmine stopped displaying the situations defined in the configuration of the type of call (which are made by the plugin), displaying only the situations that are in the workflow (Redmine's default behavior)
The change can be found at the following link: https://www.redmine.org/issues/24281

SOLUTION

The solution was to patch the workflows controller by concatenating the situations returned by the workflows_enhancements plugin (which are defined in the call type configuration and have no linked workflow). This patch is only called if the version of Redmine is greater than 3.4 (which was when that function that broke the plugin was added).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant