Project

General

Profile

Actions

Bug #2753

closed

When deleting a Directive after deleting the associated Rule, there is an error message.

Added by Matthieu CERDA over 11 years ago. Updated over 11 years ago.

Status:
Released
Priority:
2
Assignee:
Jean VILVER
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

When deleting a Directive after deleting the associated Rule, there is an error message.:

Error when trying to get display the page. Please, try again

The Directive is still displayer after that but if you click on it you get:

An error happened when trying to load Directive configuration. Error message was: No user Directive with ID=DirectiveId(5ecd2d8d-8f7a-477e-8082-e47ed4e3e9c6). 

After a page reload, everything goes fine again.

Actions #1

Updated by Matthieu CERDA over 11 years ago

There is an associated log line:

[2012-08-01 13:42:24] ERROR com.normation.rudder.web.snippet.configuration.DirectiveManagement - Error when trying to get directive'NTP' [DirectiveId(5ecd2d8d-8f7a-477e-8082-e47ed4e3e9c6)] info with its technique context for displaying in Directive Management edit form. <- No user Directive with ID=DirectiveId(5ecd2d8d-8f7a-477e-8082-e47ed4e3e9c6).
Actions #2

Updated by Jean VILVER over 11 years ago

  • Assignee changed from François ARMAND to Jean VILVER
Actions #3

Updated by Jean VILVER over 11 years ago

  • Status changed from New to Pending technical review
  • % Done changed from 0 to 100
Actions #4

Updated by Jean VILVER over 11 years ago

By the way, this bug was present, even when the directive was not associated to a rule. It was reproducible directly after a directive creation.

Actions #5

Updated by Jonathan CLARKE over 11 years ago

  • Target version changed from 2.4.0~beta4 to 2.4.0~beta3
Actions #6

Updated by Vincent MEMBRÉ over 11 years ago

Technical review done, this ticket can be closed.

This looks valid, thank you Jean!

Actions #7

Updated by François ARMAND over 11 years ago

  • Status changed from Pending technical review to Released
Actions

Also available in: Atom PDF