STARIONGROUP / COMET-IME-Community-Edition

The Concurrent Design Desktop Application and Excel Integration compliant with ECSS-E-TM-10-25 Annex A and Annex C
https://www.stariongroup.eu
Other
21 stars 5 forks source link

Dev-server - problem in short names of generated value set for test array parameter type #1212

Open MartinFijneman opened 1 year ago

MartinFijneman commented 1 year ago

Prerequisites

Description

testing on dev-server, using a parameter type "test array" (TTA), with size {2,2,2} > on the parameter type definition, the short names for the components are automatically generated.

when using this parameter type in an engineering model, the short names of the components in the generated value set are different, with duplications of short names (with corresponding errors in the error log)

see picture, with left the definition showing in circles the missing component short names for the parameter on the right, as well as on the right, the duplicate short name

NOTE: issue not depending on dotnet 6 implementation, general issue on dev server.

test array with errors on components - value set doesn't seem properly generated from parameter type definition

Steps to Reproduce

on dev server, open an engineering model for testing, open the parameter types browser, go to the parameter type "test array" (TA), and add to the model

this gives other short names for the generated value set

Logs

System Configuration

MartinFijneman commented 2 months ago

update in testing version 10:

not possible anymore to create array parameter with automatically generated shortnames: these fields get a field validation error (shortname cannot start with non-alphanumerical character. user needs to manually update the short names now. with this, the array parameter can be created and used.

for now leaving the issue open to potentially fix the validation error for the automatically generated short names, so that the user doesn't have to change these manually.