View Issue Details

IDProjectCategoryView StatusLast Update
001018110000-009: Alarms and ConditionsSpecpublic2025-05-27 15:41
ReporterV. Monfort Assigned ToPaul Hunkar  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Product Version1.05.03 
Summary0010181: Bad_EventIdUnknown result code does not seem sufficient for AddComment/Acknowledge/Confirm methods
Description

In part 9 (v1.05.03), the different methods provide no truly adapted StatusCode when an EventId is not valid to execute the method even if it is known.
AddComment: in case the server does not manage branches, it seems that only the latest EventId should be accepted to write a comment since it is the only case that will allow to write the Comment variable node. In all other cases where EventId are known but not valid the proposed result codes of Table 18, as Bad_EventIdUnknown, does not seem adapted.
Acknowledge: if the AckedState was never acknowledged and no branch is managed by server, or the EventId is known but refers to a state where AckedState is not defined (NULL). The same issue on choice of result code is encountered regarding codes of table 37.
Confirm: same issue than for Acknowledge regarding code of table 40.

For the reasons indicated above, it should be interesting to add other possible result code in the tables of those methods:
add a new status code Bad_EventIdInvalid or use existing Bad_InvalidState status code if the transition or treatment is not possible for another reason as Bad_ConditionBranchAlreadyAcked/Confirmed.

TagsNo tags attached.
Commit Version
Fix Due Date

Activities

Jim Luth

2025-04-01 15:30

administrator   ~0022585

Paul will write explanation for no-fix.

Paul Hunkar

2025-05-24 18:54

developer   ~0022769

Most servers do not track old EventIds (and in no case is it required), once an event is no longer active and has no outstanding state that requires an actions (Acknowledges/Confirmed), then is can be forgotten by the server. Requiring or allowing any other error code then Bad_EventIdUnknown would server no purpose and would complicate the server implementation - since now it would be required to track all events for all time. It would only confuse or add additional burdens to a client. As far as the server is concern it is an unknown event, since no actions can be taken on it (this applies to any of the calls). A Client should also forget the event, since it also can not take any actions on it. No fix is required for this issue.

Note: A comment can be added to any event in any state, so if the event is still being tracked a comment can be added to it - so if the server knows about the event, then it can have a comment added to it. The state of the event does not restrict adding a comment.

Jim Luth

2025-05-27 15:41

administrator   ~0022790

Agreed to no-fix in web meeting.

Issue History

Date Modified Username Field Change
2025-03-04 10:22 V. Monfort New Issue
2025-04-01 15:29 Jim Luth Assigned To => Paul Hunkar
2025-04-01 15:29 Jim Luth Status new => assigned
2025-04-01 15:30 Jim Luth Note Added: 0022585
2025-05-24 18:54 Paul Hunkar Status assigned => resolved
2025-05-24 18:54 Paul Hunkar Resolution open => no change required
2025-05-24 18:54 Paul Hunkar Note Added: 0022769
2025-05-27 15:41 Jim Luth Status resolved => closed
2025-05-27 15:41 Jim Luth Note Added: 0022790