Actions
Bug #6482
closedNode API cannot get pending and refused node details
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
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
Actions