Bug #6482
closedNode API cannot get pending and refused node details
Description
When using 'GET /api/latest/nodes/id' on an id of a pending or deleted node i get an error message telling that the node is not found
The semantic of this requests is to get the informations on a node, whatever the status is is in.
This was introduced when we canted to get the node properties in the node details, we introduced a dependency on the fact that the node was accepted.
We should better use a "NonAcceptedNode" object (with data correctly set) or put the NodeProperties directly (with an empty set)
The first solution would force us to treat the new data we add in a node, but it will add an object with a blurred meaning
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from New to In progress
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/844
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder|d47df65696e0a081e4be8c282d46778d9dacce51.
Updated by François ARMAND over 9 years ago
Applied in changeset rudder|9c85dd2e7f6b1f707f0a276396c5bd0dbb0d827a.
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.0.4 which was released today.
- Announcement 3.0
- Changelog 3.0
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/