Project

General

Profile

Actions

Bug #5685

closed

Raise errors if there's issues with a technique created with ncf-builder

Added by Florian Heigl about 10 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
1 (highest)
Assignee:
-
Category:
Web - Technique editor
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

Just found this one in our logs


[2014-10-22 20:40:29] ERROR com.normation.cfclerk.services.impl.GitTechniqueReader - Ignoring technique '/ncf_techniques/RPM_Validation/1.0/metadata.xml' because the descriptor file is malformed. Error message was: Unexpected issue with the descriptor file /ncf_techniques/RPM_Validation/1.0/metadata.xml at line 9, column 27: The entity name must immediately follow the '&' in the entity reference.

Such messages would really need to be made visible in the NCF Editor, when you hit "save".

I was working on another technique which simply would not get stored properly, traced it to the above error blocking things.

Again, this is not about one tech blocking newer ones
Not about the the ability to store broken techniques
Just about not raising an error.

In a multiuser env it's most important that people can raise their hand and ask for help. (they have to know it happened!)

Edit: the solution to that particular problem need a synchrone technique reload or a message bus (see also #4828)


Related issues 4 (0 open4 closed)

Related to Rudder - Bug #5828: Missing st fileRejectedNicolas CHARLES2014-11-26Actions
Related to Rudder - Bug #7560: Reload technique API call must be synchroneReleasedVincent MEMBRÉ2015-12-08Actions
Related to Rudder - Bug #4828: Updating Techniques with error says on the Web Interface that everything is fine, even if it's notResolvedActions
Blocked by Rudder - Bug #5678: ncf api doesn't report hooks errorsRejectedActions
Actions

Also available in: Atom PDF