View Issue Details

IDProjectCategoryView StatusLast Update
000704310000-004: ServicesSpecpublic2022-12-06 15:23
ReporterEtienne Rossignon Assigned ToMatthias Damm  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Fixed in Version1.05.03 RC1 
Summary0007043: Sending DataChangeNotification before CreateMonitoredItemsResponse is send allowed ?
Description

Found while developing a client.

While creating MonitoredItem most of the server/client follows this pattern:

1-CreateSubscriptionRequest
< 1-CreateSubscriptionRequest
2-PublishRequest
3-PublishRequest
4-CreateMonitoredItemsRequest
< 4-CreateMonitoredItemsResponse
< 2-PublishRespnse (with Initial values)
5-PublishRequest
< 3-PublishRespnse (with som more values)

Some servers implementation may be publishing DataChangeNotification on new monitored items even before the server had a chance to send the CreateMonitoredItemsResponse to the client (Codesys)

The patterns becomes in this case:

1-CreateSubscriptionRequest
< 1-CreateSubscriptionRequest
2-PublishRequest
3-PublishRequest
4-CreateMonitoredItemsRequest
< 2-PublishRespnse (with Initial values)
5-PublishRequest
< 4-CreateMonitoredItemsResponse <<< LATE
< 3-PublishRespnse (with som more values)

This may cause some initial data change value to never be processed by the client, ( depending on its implementation ) if the actual data recording on the client-side is only effective after the CreateMonitoredItems is completed.

Is this case clearly allowed by the specification?

If yes, shall we describe it in the spec ?

Also this specific scenario would need a CTT unittest ... as some client implementation might miss some

At this time, no CTT test capture this specific edge case.

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0008515 closedAlexander Allmendinger CTT UA Test Case Sending DataChangeNotification before CreateMonitoredItemsResponse is send allowed ? 

Activities

Jim Luth

2021-09-07 16:29

administrator   ~0014826

Agreed the second scenario is allowed. Agreed to add clarification in CreateMonitoredItems.

Matthias Damm

2022-12-04 10:19

developer   ~0018225

5.12.2 CreateMonitoredItems
5.12.2.1 Description

Added following clarification:
Clients may receive Notifications for added MonitoredItems before the CreateMonitoredItems Response is received. Clients set the ClientHandle for the MonitoredItem in the CreateMonitoredItems Request and are therefore able to process the Notifications received before the create Response.

Jim Luth

2022-12-06 15:23

administrator   ~0018241

Agreed to changes in Virtual F2F.

Issue History

Date Modified Username Field Change
2021-06-23 17:50 Etienne Rossignon New Issue
2021-09-07 16:29 Jim Luth Note Added: 0014826
2021-09-07 16:29 Jim Luth Assigned To => Matthias Damm
2021-09-07 16:29 Jim Luth Status new => assigned
2022-12-04 10:19 Matthias Damm Status assigned => resolved
2022-12-04 10:19 Matthias Damm Resolution open => fixed
2022-12-04 10:19 Matthias Damm Fixed in Version => 1.05.03 RC1
2022-12-04 10:19 Matthias Damm Note Added: 0018225
2022-12-06 15:18 Jim Luth Issue cloned: 0008515
2022-12-06 15:18 Jim Luth Relationship added related to 0008515
2022-12-06 15:23 Jim Luth Status resolved => closed
2022-12-06 15:23 Jim Luth Note Added: 0018241