Skip to content

Exeption if the "name" string of object or subindex contains the characters "[" and "]"  #50

@trojanobelix

Description

@trojanobelix

An “item with the same key has already been added”
exeption is thrown on eds[sectionname].Add(key, value); (line 1061) if the "name" string of the object or the subindex contains the characters "[" and "]"
like in
"Filtering time t1 [s]"
where the "[s]" is the unit of the "filtering time" in seconds

The "s" is erroneously interpretded and added as a key and so the next string that contains "[s]" e.g.
"Filtering time t2 [s]" is interpreted as the second occurence of the key "s"

CANchkEDS has no problem with the "[" and "]" characters in EDS files and checks it as valid.

Might not be needed to change but should be described.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions