I’m submitting a…
- [ ] Regression (a behavior that stopped working in a new release)
- [ X] Bug report
- [ ] Performance issue
- [ ] Documentation issue or request
Current behavior
After creating a role, I went to the workflow section creating one. For each state I have assigned a role. Eg Draft to Published -> Editor, Draft -> Ready (new state) -> Co-Editor (new Role).
After completing the workflow I saved and waited. At refresh all states were cleared.
I subsequently recompiled the workflow, and saved several steps. Also waited a few minutes, switched to another functionality returned to the workflow is white.
I checked the Mongo App state table and there was no trace of the workflow configurations. For testing I modified the json by inserting the workflow directly on mongo, but there is no trace of the configuration in the interface.
Expected behavior
The workflow should be visible and saved
Minimal reproduction of the problem
Environment
- [ X] Self hosted with docker
- [ ] Self hosted with IIS
- [ ] Self hosted with other version
- [ X] Cloud version
Version: [VERSION]
Browser:
- [X ] Chrome (desktop)
- [ ] Chrome (Android)
- [ ] Chrome (iOS)
- [X ] Firefox
- [ ] Safari (desktop)
- [ ] Safari (iOS)
- [ ] IE
- [ ] Edge
Others:
array (
'Version' => new MongoInt64(199),
'Doc' =>
array (
'name' => 'cms-portale-ras',
'label' => 'CMS RAS',
'description' => 'Portale istituzionale della Regione Sardegna',
'roles' =>
array (
'Co-Editor' =>
array (
0 => 'contents.*.read',
1 => 'contents.*.create',
2 => 'assets.*',
3 => 'contents.*.version.create',
4 => 'contents.*.update',
),
'EditorSanita' =>
array (
0 => 'contents.bandosanita.*',
1 => 'assets.read',
2 => 'assets.create',
3 => 'assets.upload',
4 => 'assets.update',
5 => 'contents.notizia.read',
6 => 'contents.notizia.create',
7 => 'contents.notizia.update',
8 => 'contents.notizia.version.create',
9 => 'contents.evento.read',
10 => 'contents.evento.create',
11 => 'contents.evento.update',
12 => 'contents.evento.version.create',
),
'CoEditorSanita' =>
array (
0 => 'contents.notizia.read',
1 => 'contents.notizia.create',
2 => 'contents.notizia.version.create',
3 => 'contents.notizia.update',
4 => 'assets.read',
5 => 'assets.create',
6 => 'assets.upload',
7 => 'contents.evento.read',
8 => 'contents.evento.create',
9 => 'contents.evento.update',
10 => 'contents.evento.version.create',
),
),
'image' =>
array (
'mimeType' => 'image/png',
'etag' => '56860a9853134122bea6fa7518d65fd7',
),
'clients' =>
array (
'default' =>
array (
'name' => 'default',
'secret' => 'lafy9f9cc5sg6xjdnrrvxou86sv4bvpydiudh0yhpsox',
'role' => 'Reader',
),
),
'patterns' =>
array (
'd7644fc0-0868-4df0-8ba4-8f1d843f805b' =>
array (
'name' => 'Email',
'pattern' => '^[a-zA-Z0-9.!#$%&’*+\\/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:.[a-zA-Z0-9-]+)*$',
),
'90ea4b2d-7b21-47f3-9212-0bbd6491c9c2' =>
array (
'name' => 'Phone',
'pattern' => '^\\(*\\+*[1-9]{0,3}\\)*-*[1-9]{0,3}[-. /]*\\(*[2-9]\\d{2}\\)*[-. /]*\\d{3}[-. /]*\\d{4} *e*x*t*\\.* *\\d{0,4}$',
),
'b7cc24a0-9b33-4a39-b194-133c503d6f4c' =>
array (
'name' => 'Slug',
'pattern' => '^[a-z0-9]+(\\-[a-z0-9]+)*$',
),
'ad78225d-956d-4ac5-8a85-85843e9a4f44' =>
array (
'name' => 'Url',
'pattern' => '^(?:http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:\\/?#%[\\]@!\\$&\'\\(\\)\\*\\+,;=.]+$',
),
),
'contributors' =>
array (
'5e985e79ba88eb000121b89b' => 'Owner',
'5ea04b7bba88eb000121b9a4' => 'Owner',
'5ea06db7ba88eb000121bb96' => 'Co-Editor',
'5ea946451a73b900017868e4' => 'Editor',
'5ea959881a73b90001786bef' => 'Co-Editor',
),
'languagesConfig' =>
array (
'languages' =>
array (
'en' =>
array (
'fallback' =>
array (
),
'isOptional' => false,
),
'it' =>
array (
'fallback' =>
array (
),
'isOptional' => false,
),
),
'master' => 'it',
),
'workflows' =>
array (
'59fdc05e-7e0b-4ebf-bac8-6d9adafbb644' =>
array (
'steps' =>
array (
'Archived' =>
array (
'transitions' =>
array (
'Published' =>
array (
0 => 'Editor',
1 => 'EditorSanita',
),
),
'color' => '#eb3142',
'noUpdate' => false,
),
'Draft' =>
array (
'transitions' =>
array (
'Published' =>
array (
'roles' =>
array (
0 => 'Editor',
1 => 'EditorSanita',
),
),
'Ready' =>
array (
'expression' => '',
'roles' =>
array (
0 => 'Co-Editor',
1 => 'Co-EditorSanita'
),
),
),
'color' => '#8091a5',
'noUpdate' => false,
),
'Published' =>
array (
'transitions' =>
array (
'Archived' =>
array (
0 => 'Editor',
1 => 'EditorSanita',
),
'Draft' =>
array (
),
),
'color' => '#4bb958',
'noUpdate' => false,
),
'Ready' =>
array (
'transitions' =>
array (
'Published' =>
array (
'expression' => '',
'roles' =>
array (
0 => 'Editor',
1 => 'EditorSanita',
),
),
'Reject' =>
array (
'expression' => '',
'roles' =>
array (
0 => 'Editor',
1 => 'EditorSanita',
),
),
),
'color' => '#17a3e6',
'noUpdate' => false,
'noUpdateRules' =>
array (
),
),
'Reject' =>
array (
'transitions' =>
array (
'Ready' =>
array (
'expression' => '',
'roles' =>
array (
0 => 'Co-Editor',
1 => 'Co-EditorSanita'
),
),
),
'color' => '#c117e6',
'noUpdate' => false,
),
),
'schemaIds' =>
array (
0 => '5a9eef76-4089-4f53-8493-53ad6b139f07',
1 => '127532de-39ec-49d0-b99b-cc91eaaf10ab',
2 => '5a596e35-8cea-478b-91a0-b105169c68ae',
3 => 'e24f4b27-3498-4d4a-8f10-b724c593c547',
4 => '84cbdfae-77d2-4096-bf05-be0068d7e983',
5 => '58be4c09-80d9-4403-b5cf-a93d297c3de7',
6 => '239d338b-ae56-467a-ab8e-c1c89ea48399',
7 => '797ccb37-b10c-402f-a620-6feb5865ad40',
),
'initial' => 'Draft',
'name' => 'Workflow Base',
),
'9e26d2d2-11c8-4696-85cd-adb6b5bead74' =>
array (
'steps' =>
array (
'Archived' =>
array (
'transitions' =>
array (
'Published' =>
array (
),
),
'color' => '#eb3142',
'noUpdate' => false,
),
'Draft' =>
array (
'transitions' =>
array (
'Published' =>
array (
0 => 'EditorSanita',
),
'Ready' =>
array (
),
),
'color' => '#8091a5',
'noUpdate' => false,
),
'Published' =>
array (
'transitions' =>
array (
'Archived' =>
array (
0 => 'EditorSanita',
),
),
'color' => '#4bb958',
'noUpdate' => false,
),
'Ready' =>
array (
'transitions' =>
array (
'Published' =>
array (
0 => 'EditorSanita',
),
'Reject' =>
array (
0 => 'EditorSanita',
),
),
'color' => '#a217e6',
'noUpdate' => false,
),
'Reject' =>
array (
'transitions' =>
array (
'Ready' =>
array (
0 => 'Co-EditorSanita'
),
),
'color' => '#b417e6',
'noUpdate' => false,
),
),
'schemaIds' =>
array (
0 => 'fe384a9c-fedd-4f7f-92e2-61b0ac8235e6',
),
'initial' => 'Ready',
'name' => 'Workflow Sanità',
),
),
'isArchived' => false,
'id' => 'da3c7a1f-660f-4cb4-92ef-e713dfbe9544',
'createdBy' => 'subject:5e985e79ba88eb000121b89b',
'lastModifiedBy' => 'subject:5e985e79ba88eb000121b89b',
'created' => '2020-04-16T14:30:35Z',
'lastModified' => '2020-05-15T16:40:40Z',
'isDeleted' => false,
'version' => new MongoInt64(199),
),
)