View Issue Details

IDProjectCategoryView StatusLast Update
0005535Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2020-05-22 14:28
ReporterThomas Merk Assigned ToSebastian Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.04.09.394 
Fixed in Version1.03.341.396 
Summary0005535: Localized Texts are not handled as specified
Description

Valiables with a LocalizedText value can be written, but by writing a new value, the server may !!! simply add a translation if the locale differs from the actual value.
However a server is also allowed to replace the complete LoclizeText with the written value.
E.g.
Actual value == "en","Hello"
Write value == "", Hello world"
=> The server stores both locales, the empty and the "en"

Reading the value back will result in either "en", "Hello" or in "", "Hello world", depending on the preferred locales of the session.

The tests in "Attribute Services" - "Attribute Write Index" seem not aware of this behaviour.
Affected are test scripts 001, 002, 003, 004, 005

The tests are writing value "", "mocalizedText1" (typo!) and get back a LocalizedText with locale "en".

Possible solution:

  • write localized texts in the locale of the actual value
  • specify a preferred locale at session to match the locale written
TagsNo tags attached.
Files Affected

Activities

Paul Hunkar

2020-03-20 16:36

administrator   ~0011785

test should be checking the Local that is assigned to the session , it can change the local if needed using ActivateSession, but it should then use the assigned locale as needed on the tests

Sebastian Allmendinger

2020-05-10 12:59

developer   ~0012044

Because the used function is mostly used to generate DataChanges, the CTT has been updated to generate an incremented String and keep the locale the same.
For scalar values this behavior was already implemented and has now been added for arrays and multi-dimensional arrays.

Paul Hunkar

2020-05-22 14:28

administrator   ~0012095

reviewed in CMP call

Issue History

Date Modified Username Field Change
2020-03-18 09:24 Thomas Merk New Issue
2020-03-20 16:36 Paul Hunkar Note Added: 0011785
2020-03-20 16:36 Paul Hunkar Assigned To => Alexander Allmendinger
2020-03-20 16:36 Paul Hunkar Status new => assigned
2020-05-10 12:59 Sebastian Allmendinger Assigned To Alexander Allmendinger => Sebastian Allmendinger
2020-05-10 12:59 Sebastian Allmendinger Status assigned => resolved
2020-05-10 12:59 Sebastian Allmendinger Resolution open => fixed
2020-05-10 12:59 Sebastian Allmendinger Fixed in Version => 1.03.341.396
2020-05-10 12:59 Sebastian Allmendinger Note Added: 0012044
2020-05-22 14:28 Paul Hunkar Status resolved => closed
2020-05-22 14:28 Paul Hunkar Note Added: 0012095