COMET-IME-Community-Edition icon indicating copy to clipboard operation
COMET-IME-Community-Edition copied to clipboard

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

Open MartinFijneman opened this issue 3 years ago • 1 comments

Prerequisites

  • [x] I have written a descriptive issue title
  • [x] I have verified that I am running the latest version of the COMET-IME
  • [ ] I have searched open and closed issues to ensure it has not already been reported

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

  • [ ] There are no logs regarding the issue
  • { ] I have attached a log file or included the relevant section in this issue

System Configuration

  • COMET version:
    • [ ] COMET-IME:
    • [ ] Other:
  • Web Services:
    • [ ] CDP4/COMET Web Services version:
    • [ ] OCDT WSP version:
  • Environment (Operating system, version and so on):
    • [ ] Microsoft Excel (32/64 bit):
    • [ ] Windows OS (32/64 bit):
    • [ ] Additional information:

MartinFijneman avatar Dec 21 '22 14:12 MartinFijneman

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.

MartinFijneman avatar Jun 05 '24 13:06 MartinFijneman