Project

General

Profile

Actions

Bug #22208

closed

Directives cannot be deleted because change request say state diverged even when there are no change request activated

Added by Nicolas CHARLES over 1 year ago. Updated 11 months ago.

Status:
Resolved
Priority:
N/A
Category:
Web - Config management
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

Some directives cannot be deleted, with amessage saying the state diverged
The log say

[2022-12-21 09:43:45+0100] INFO  changeRequest - Saving and deploying change request 0
[2022-12-21 09:43:45+0100] DEBUG changeRequest - CR #0: Attempt to merge Change Request (CR) failed because initial state could not be rebased on current state.
[2022-12-21 09:43:45+0100] DEBUG changeRequest - CR #0: Directive ID XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX parameter GENERIC_FILE_CONTENT_PAYLOAD has changed : original state from CR: ArraySeq(### Beginning of file
some content here
### End of File), current value: List(Beginning of file
some content here
### End of File)
[2022-12-21 09:43:45+0100] DEBUG changeRequest - Can not merge change request <- Directive [Name] [Files] Directive name (id: XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX) has diverged since change request creation
[2022-12-21 09:43:45+0100] ERROR com.normation.rudder.web.components.popup.ModificationValidationPopup - Error when trying to save your modification <- The change request can not be merge because current item state diverged since its creation

I'm unsure why it considers one part to be a list and the other an arrayseq, but that should be easy to fix


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #3967: Change request cannot be accepted: multiline text cause merge incompatibilityReleasedFrançois ARMAND2013-09-26Actions
Actions

Also available in: Atom PDF