Open JVennekens opened 3 years ago
@samatrhea can you please review this issue and let us know what you would like to do with regards to the 3 points above? Should a user have an option to choose COMET/OCDT sheets or should we unify?
@cozminvelciu investigate modelcode correctness and post here.
@alexatrhea I've done a thorough investigation on how the path was displayed and implemented in ConCORDE here. The summary is that it was always implemented as using backslashes as separators, and not dots.
W.r.t. the 10-25 TM, there seems to be no mention of paths for parameter (or subscription) value sets, as the path is implemented as an extension there, but there is a description for the NestedParameter.Path property:
derived unique short name path to this NestedParameter
Note: The path string consists of the following backslash separated parts: (1) path to the nestedElement, (2) path to the associatedParameter, (3) path for the actualState or empty string if that is null, (4) shortName of the container Option. Any nested parts of the path name are dot separated.
Based on the above description, it seems like the correct way to generate the path according to 10-25 would be to have ED\Par\State\Option (using backslashes), and use dots only for nested parts (e.g. parameter components) - which is what OCDT is doing.
@samatrhea your final word on the issue with regards to either correct or make it optional?
From OCDT documentation on Parameter sheet:
<ElementDefinition.ShortName>[.<ElementUsage.Shortname>]\<ParameterType.Shortname>[.<ParameterType.Component.ShortName>]\[<ActualFiniteState.ShortName>]\[<Option.ShortName>]
so indeed there is a bug.
@lxatrhea I propose we split this off from this task and fix it in a bug task and leave the flat table with filtering columns as a new feature as there we would for sure need to split how Parametersheets are generated now to the 'OCDT' way.
@alexatrhea We need to be careful with backwards compatibility in reports. Writing back values to reports is based on these model codes and easier support for different Options is implemented "under the hood".
@alexatrhea We need to be careful with backwards compatibility in reports. Writing back values to reports is based on these model codes and easier support for different Options is implemented "under the hood".
@alexatrhea Good news: The Model Codes used in reports are already constructed in the same way as the cell names in the OCDT parameter sheet. No problems or backwards compatibility issues there.
Prerequisites
Description
The COMET and OCDTv3 parameter sheets are different making previous generated formulas and links incompatible.
The above differences should be fixed in COMET, either by modifying the COMET parameter sheet or the option to select and OCDT or COMET parameter sheet generation. CDP4 parameter sheet.xlsx OCDT parameter sheet.xlsx
Steps to Reproduce
Logs
System Configuration