admin-shell / aasx-package-explorer

C# based viewer / editor for the Asset Administration Shell
39 stars 9 forks source link

Stricter validation for idShort #6

Closed mmarseu closed 5 years ago

mmarseu commented 5 years ago

The Asset Administration Shell specification states that idShort can only contain letters, digits and underscores. Also, it must start with a letter.

The editor doesn't check any of that. It didn't keep me from setting idShort as "401-test" for example. See the following screenshot as proof: screenshot

I would want the editor to stop me from saving such a change and display a message (possibly in the shape of a red hint bubble) telling me what I did wrong.

admin-shell commented 5 years ago

Changed to stricter check for all entities.