Project

General

Profile

Bug #10578

Cannot add node property when audit message is mandatory

Added by Rémi Verchère 8 months ago. Updated 6 months ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Target version (plugin):
Severity:
Major - prevents use of part of Rudder | no simple workaround
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
36

Description

Hi,

When "Make message mandatory" is set in the global configuration, I cannot add a property to a node.
I get the following error:

 An error occured while saving this new property : An error occured while updating Node '6cf42768-b982-4edf-a2d1-d1f418446ede' <- Reason field is mandatory and should be at least 5 characters long

No issue when "Make message mandatory" is not set.


Subtasks

Bug #10637: Explanation message is not configurable for policy mode/property changeNew

Bug #10638: Cannot change policy mode when audit message is mandatory (4.0)ReleasedNicolas CHARLES


Related issues

Duplicated by Rudder - Bug #10669: Cannot switch Agent Policy Mode on Node Settings page Rejected

Associated revisions

Revision 220b1795
Added by Vincent MEMBRÉ 8 months ago

Fixes #10578: Cannot add node property when audit message is mandatory

History

#1 Updated by Alexis MOUSSET 8 months ago

  • Category set to Web - Config management
  • Target version set to 4.1.1

#2 Updated by Rémi Verchère 8 months ago

FYI, same behaviour/error when I try to modify the policy mode for a node, but withour explanations.

1. On the web page:
"Error during saving changes"

2. On the log file:

[2017-04-10 18:56:19] ERROR com.normation.rudder.web.rest.node.NodeAPI5 - An error occured while updating Node '926f938f-fdd0-4375-a6a6-dc78b970adaa' <- Reason field is mandatory and should be at least 5 characters long
[2017-04-10 18:56:19] ERROR com.normation.rudder.web.rest.RestUtils - "An error occured while updating Node '926f938f-fdd0-4375-a6a6-dc78b970adaa' <- Reason field is mandatory and should be at least 5 characters long" 

#3 Updated by Jonathan CLARKE 8 months ago

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Operational - other Techniques | Technique editor | Rudder settings
  • Priority changed from 0 to 36

#4 Updated by Vincent MEMBRÉ 8 months ago

  • Status changed from New to In progress
  • Assignee set to Vincent MEMBRÉ

#5 Updated by Vincent MEMBRÉ 8 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder/pull/1627

#6 Updated by Vincent MEMBRÉ 8 months ago

  • Status changed from Pending technical review to Pending release

#7 Updated by Vincent MEMBRÉ 7 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.1 which was released today.

#8 Updated by François ARMAND 7 months ago

  • Related to Bug #10669: Cannot switch Agent Policy Mode on Node Settings page added

#9 Updated by François ARMAND 7 months ago

  • Related to deleted (Bug #10669: Cannot switch Agent Policy Mode on Node Settings page)

#10 Updated by François ARMAND 7 months ago

  • Duplicated by Bug #10669: Cannot switch Agent Policy Mode on Node Settings page added

Also available in: Atom PDF