Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArrayDimensions of StructureField are not written to xml when exporting NodeSet #1115

Closed
faunwolf opened this issue Sep 16, 2020 · 1 comment · Fixed by #1517
Closed

ArrayDimensions of StructureField are not written to xml when exporting NodeSet #1115

faunwolf opened this issue Sep 16, 2020 · 1 comment · Fixed by #1517
Assignees
Labels
bug A bug was identified and should be fixed.

Comments

@faunwolf
Copy link

Hello,

I am trying to create a new NodeSet xml file and create amongst others also a new DataTypes.
On the StructureField I set the ValueRank and ArrayDimensions, but only the ValueRank is exported in to the xml as attribute of the field. The ArrayDimensions attribute is missing.

It seems to me that in UANodeSet.Export(DataTypeState dataType, ...) the ArrayDimensions are not copied the new DataTypeField. Also DataTypeField.ArrayDimensions is of type string, which also seems weird, as the source is an UInt32Collection.

Greetings,
Bernhard

@cristipogacean
Copy link
Contributor

Hello @faunwolf,

I can confirm the ArrayDimensions attribute is missing in the NodeSet export. We will have a fix soon.

@mregen mregen added bug A bug was identified and should be fixed. and removed needs investigation labels Sep 17, 2021
mregen pushed a commit that referenced this issue Sep 20, 2021
…1517)

Fix NodeSet import/export of ArrayDimensions in StructureField #1115
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug was identified and should be fixed.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants