When use features to export workflow configuration, the workflow tab permission is exported as:
'tab_roles' => '1,2,3,4,5,6',
But when we import the workflow configuration to target environment, if target environment role id <=> role name mapping is not the same as source environment, it will leads to wrong configuration imported to the target environment.

Suggest export use role name instead of role id, and when import, translate role name into target environment mapped role id, then save to database, example exported code would like:
'tab_roles' => 'administrator,Publisher,Editor,Approver',

Comments

johnv’s picture

Component: Workflow Revert » Features
Status: Active » Fixed

This is yesterday fixed, and included in 7.x-2.0-beta2 .

thomashuang025’s picture

Issue summary: View changes
StatusFileSize
new1.12 KB

a temporary patch for 7.x-1.2

thomashuang025’s picture

Issue summary: View changes
thomashuang025’s picture

StatusFileSize
new1.12 KB

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.