Bug #4383
closedWhen adding a Directive to a Rule from a newly created Directives screen, Change Request popup not displayed
Description
- A popup asking me if I'm sure I want to edit this Directive
- Another popup saying my changes were saved successfully
- By checking afterwards, a Change Request was created
- A popup saying "Workflows are enabled, your change has to be validated in a Change request" and asking me to type in a title and description
- Being redirected to the newly created Change Request
Updated by Vincent MEMBRÉ almost 11 years ago
- Status changed from 8 to Discussion
- Assignee changed from Vincent MEMBRÉ to Jonathan CLARKE
I was not able to reproduce it on 3 different Rudder servers ...
Like you said, I clicked on a Directive, modify in "Target Rules" so a new Rule apply the Directive and save and I got the workflow popup and when validating I'm redirected to the change request page.
Do you have any more infos on how to reproduce it ?
Updated by Jonathan CLARKE almost 11 years ago
Something that might be important: I had only just enabled Change Requests prior to this happening (no restart since).
Also, I had disabled the "Change message" feature.
I'm not sure, but I imagine one of these things will be the cause.
Updated by Jonathan CLARKE almost 11 years ago
- Assignee changed from Jonathan CLARKE to Vincent MEMBRÉ
Updated by Vincent MEMBRÉ almost 11 years ago
- Assignee changed from Vincent MEMBRÉ to Jonathan CLARKE
I enabled change request just before doing it too.
I tried when disabling change message, and was not able to reproduce either.
Updated by Jonathan CLARKE almost 11 years ago
- Subject changed from When adding a Directive to a Rule from Directives screen, Change Request popup not displayed to When adding a Directive to a Rule from a newly created Directives screen, Change Request popup not displayed
- Status changed from Discussion to 8
- Assignee changed from Jonathan CLARKE to Vincent MEMBRÉ
- Priority changed from 2 to 3
Actually, I couldn't reproduce this either. After checking, the problem actually occurs like this:
- Create a new Directive and fill in any required parameters. Do not apply it to any target Rules. Save. No change request popup is displayed, but this is normal, since there aren't any for object creations.
- Then, without reloading or changing pages, go to the "Target Rules" tab, and add a Rule. Click save. Then, you see:
- A popup asking me if I'm sure I want to edit this Directive
- Another popup saying my changes were saved successfully
- By checking afterwards, a Change Request was created
What I expected to see:
- A popup saying "Workflows are enabled, your change has to be validated in a Change request" and asking me to type in a title and description
- Being redirected to the newly created Change Request
Updated by Vincent MEMBRÉ almost 11 years ago
- Target version changed from 2.9.3 to 2.8.3
THis is happening in 2.8 too!
Updated by Vincent MEMBRÉ almost 11 years ago
- Status changed from 8 to Pending release
- % Done changed from 0 to 100
Applied in changeset 00c6c45f3c85094889321a37a7f1011326c9a604.
Updated by Nicolas CHARLES almost 11 years ago
Applied in changeset f7f36ea61803eb420cd73538fa5274e27341599a.
Updated by Vincent MEMBRÉ almost 11 years ago
- % Done changed from 100 to 0
- Pull Request set to https://github.com/Normation/rudder/pull/430
The Directive form was believing workflow were disabled :(
Maybe we could authorize to not create change request if the Directive is not applied by any Rule (or in a pending change request)
I opened #4391 to track tht idea!
PR is here: https://github.com/Normation/rudder/pull/430
But magical powers of Nicolas Charles have already merged that pull request!
Updated by Vincent MEMBRÉ over 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.8.3, which was released today.
Check out:
- The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2014-March/000079.html
- The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog28
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/