View Issue Details

IDProjectCategoryView StatusLast Update
000271210000-006: MappingsSpecpublic2014-10-16 11:21
ReporterKevin Herron (Inductive Automation) Assigned ToRandy Armstrong  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version1.03Fixed in Version1.03 
Summary0002712: NodeSet2 is missing references
Description

One example:

In the original NodeSet.xml, the Objects node (i=85) has a forward reference to the Server node (i=2253).

In NodeSet2.xml there's no forward reference from Objects to Server, just an inverse reference from Server back to Objects.

This would imply that you basically don't see anything under the Objects node when browsing for forward references.

Part 5 explicitly states that these nodes should have forward ‘Organizes’ references. It says nothing about inverse references from the target of the forward ‘Organizes’ references.

The way NodeSet2 is currently defined a client will never be able to discover the ‘Server’ object by browsing the ‘Objects’ folder.

TagsNo tags attached.
Commit Version
Fix Due Date

Activities

Randy Armstrong

2014-02-11 14:31

administrator   ~0005257

The nodeset does not have all inverse references by design (the files are large enough as it is there is no justification for adding redundant information).

An application that imports a nodeset is expected to add inverse reverses when appropriate.

Kevin Herron (Inductive Automation)

2014-02-11 14:51

reporter   ~0005264

And how is an application that imports a nodeset, whether this published one or any other nodeset that conforms to the schema, supposed to know what "when appropriate" is?

Randy Armstrong

2014-02-11 15:01

administrator   ~0005267

Importers need to have rules based on ReferenceTypes.

i.e. always add inverse references except for:
TypeDefinition, HasModellingRule

You can look at the LoadPredefinedNodes function in the .NET Server Samples

Jim Luth

2014-02-11 17:15

administrator   ~0005271

Agreed to move this to Part 6 and add the rules stated for creating reverse references to the appendix that describes the nodeset

Randy Armstrong

2014-10-09 04:22

administrator   ~0005526

Added text to F.3 in 1.03 DRAFT 2

Jim Luth

2014-10-16 11:21

administrator   ~0005558

Agreed to changes in Carros meeting.

Issue History

Date Modified Username Field Change
2014-01-31 19:12 Kevin Herron (Inductive Automation) New Issue
2014-02-11 14:31 Randy Armstrong Status new => resolved
2014-02-11 14:31 Randy Armstrong Resolution open => won't fix
2014-02-11 14:31 Randy Armstrong Assigned To => Randy Armstrong
2014-02-11 14:31 Randy Armstrong Note Added: 0005257
2014-02-11 14:51 Kevin Herron (Inductive Automation) Status resolved => feedback
2014-02-11 14:51 Kevin Herron (Inductive Automation) Resolution won't fix => reopened
2014-02-11 14:51 Kevin Herron (Inductive Automation) Note Added: 0005264
2014-02-11 15:01 Randy Armstrong Note Added: 0005267
2014-02-11 17:15 Jim Luth Note Added: 0005271
2014-02-11 17:15 Jim Luth Project NodeSets, XSDs and Generated Code => 10000-006: Mappings
2014-02-11 17:16 Jim Luth Status feedback => assigned
2014-03-11 16:24 Jim Luth Severity major => minor
2014-08-19 16:34 Jim Luth Category (No Category) => Spec
2014-08-19 16:34 Jim Luth Target Version => 1.03
2014-10-09 04:22 Randy Armstrong Note Added: 0005526
2014-10-09 04:22 Randy Armstrong Status assigned => resolved
2014-10-09 04:22 Randy Armstrong Resolution reopened => fixed
2014-10-16 11:21 Jim Luth Note Added: 0005558
2014-10-16 11:21 Jim Luth Status resolved => closed
2014-10-16 11:21 Jim Luth Fixed in Version => 1.03