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

Rational number set with value as fractions lead to datetime formatting through excel workbook #1274

Open MartinFijneman opened 11 months ago

MartinFijneman commented 11 months ago

Prerequisites

Description

Rational number set with value as fraction corresponding to a valid date incorrectly turned to datetime formatting through excel workbook

For scale with rational number set, the idea is that a value can be provided as ratio, e.g. 3/45. If the provided rational number is applicable to it, at one point during testing this was turned into a datetime format: provided value of 3/21 was turned into date time for 21st of March. This occurs when a workbook is used: upon rebuilding, in the workbook the rational number is changed into a date: 3/21 is turned into 21/3/2023. This is then a change, that is taken over in any subsequent submit action. The value can be submitted to the server.

image

This incorrect value with datetime formatting then appears in the IME as well.

image

(Note that in the test, I accidentally switched the intended values to be provided in the element definitions, leaving the descriptive names (inside/ outside date range) misleading and incorrect, so please consider these ED names obsolete; the issue should be clear however)

Steps to Reproduce

Logs

System Configuration