View Issue Details

IDProjectCategoryView StatusLast Update
000742410000-014: PubSubSpecpublic2023-03-21 22:31
ReporterRandy Armstrong Assigned ToMatthias Damm  
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionduplicate 
Product Version1.04 
Target Version1.05 
Summary0007424: PubSub JSON encoding for DataSetMessage needs reversible encoding for DataValue
Description

The current encoding scheme only allows for reversible encoding of a Variant:

If the DataSetFieldContentMask results in a RawData representation, the field value is a Variant encoded using the non-reversible OPC UA JSON Data Encoding defined in OPC 10000-6.
If the DataSetFieldContentMask results in a DataValue representation, the field value is a DataValue encoded using the non-reversible OPC UA JSON Data Encoding defined in OPC 10000-6.
If the DataSetFieldContentMask results in a Variant representation, the field value is encoded as a Variant encoded using the reversible OPC UA JSON Data Encoding defined in OPC 10000-6.

However we found several use cases where encoding of the DataValue was preferable as reversible encoding:

  • e.g. a case when event messages did not contain the localization field of the event message
  • when further processing at the subscriber requires knowledge of the type, because the metadata support is not implemented

Discuss if an additional DataSetFieldContentMask flag could be used to flag reversible encoding for a DataValue

Additional Information

Need Errata for 1.04 since this is a breaking change.

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

duplicate of 0007038 closedMatthias Damm PubSub JSON encoding for DataSetMessage needs reversible encoding for DataValue 
related to 0006308 closedMatthias Damm Clarify how a JSON PubSub message is encoded 
related to 0008714 closedMatthias Damm JSON DataSetMessage needs option to include PublisherId in header 
related to 0008715 closedMatthias Damm JSON messages needs option to include WriterGroup name in header 

Activities

Matthias Damm

2023-02-26 21:42

developer   ~0018802

Mantis 0007038 is a duplicate and was already resolved in 1.05.01

Matthias Damm

2023-02-26 21:45

developer   ~0018803

The duplicate is only for the 1.04 errata

Matthias Damm

2023-03-18 23:10

developer   ~0018877

Added errata

Jim Luth

2023-03-21 22:31

administrator   ~0018952

Agreed to changes in Dallas meeting.

Issue History

Date Modified Username Field Change
2021-11-22 15:19 Randy Armstrong New Issue
2021-11-22 15:19 Randy Armstrong Status new => assigned
2021-11-22 15:19 Randy Armstrong Assigned To => Matthias Damm
2021-11-22 15:19 Randy Armstrong Issue generated from: 0007038
2022-03-10 18:42 Matthias Damm Relationship added related to 0006308
2023-02-26 21:42 Matthias Damm Relationship added duplicate of 0007038
2023-02-26 21:42 Matthias Damm Status assigned => resolved
2023-02-26 21:42 Matthias Damm Resolution open => duplicate
2023-02-26 21:42 Matthias Damm Note Added: 0018802
2023-02-26 21:45 Matthias Damm Status resolved => feedback
2023-02-26 21:45 Matthias Damm Resolution duplicate => reopened
2023-02-26 21:45 Matthias Damm Note Added: 0018803
2023-02-26 21:45 Matthias Damm Status feedback => new
2023-02-26 21:45 Matthias Damm Status new => assigned
2023-03-18 23:10 Matthias Damm Status assigned => resolved
2023-03-18 23:10 Matthias Damm Resolution reopened => duplicate
2023-03-18 23:10 Matthias Damm Note Added: 0018877
2023-03-21 22:26 Jim Luth Relationship added related to 0008714
2023-03-21 22:30 Jim Luth Relationship added related to 0008715
2023-03-21 22:31 Jim Luth Status resolved => closed
2023-03-21 22:31 Jim Luth Note Added: 0018952