View Issue Details

IDProjectCategoryView StatusLast Update
0003982CTT UA Scripts1 - Script Issuepublic2024-04-04 15:37
ReporterHannes Mezger Assigned ToMichael Fehler  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionreopened 
Fixed in Version1.03.508 
Summary0003982: Attribute Alternate Encoding/001 & 002
Description
  • Has to expect ONLY BadDataEncodingInvalid, as it reads a Boolean variable with DataEncoding, which is not allowed
  • Good is NOT allowed

ALEX: It doesn't always use the boolean but it uses the first scalar item which most likely is an boolean. The script now checks the NodeId for being the same as configured in the settings for the boolean if this is the case it uses the next one.

HANNES: Still not fixed, the test expects Good or BadDataEncodingUnsupported, but our server returns BadDataEncodingInvalid. This test only makes sense when using a data type derived from structure, it will not work with any other base data type. Hence, with the current CTT it won‘t work, as there is no NodeId setting for a value derived from structure.

Additional Information

Found with Unified Automation AnsiC DemoServer v1.8.0-358

TagsNo tags attached.
Files Affected

/library/Base/settings.js
/maintree/Attribute Services/Attribute Alternate Encoding/Test Cases/001.js
/maintree/Attribute Services/Attribute Alternate Encoding/Test Cases/002.js
/default.ctt.xml

Activities

Alexander Allmendinger

2017-10-30 22:54

developer   ~0008624

Changed the expected results to only allow BadDataEncodingInvalid

Hannes Mezger

2017-11-22 14:00

reporter   ~0008737

Last edited: 2017-11-23 10:26

Test is currently set to skipped - so for now I'm fine.

However the implementation still accepts Good. That's wrong for non
Scalar Types. Note that (only) for BaseDataType Good is also correct.

Paul Hunkar

2017-12-07 16:41

administrator   ~0008784

Need to discuss the actual test case that this is testing

Paul Hunkar

2019-01-07 14:58

administrator   ~0009800

This test cases will require the addition of a configuration bucket for structure data variable - and the test should be skipped if not filled in. Also a server might not support an alternative encoding which would also be acceptable.

Paul Hunkar

2024-04-04 15:37

administrator   ~0021090

Reviewed issue in call, agreed to changes, closed issue

Issue History

Date Modified Username Field Change
2017-10-10 12:54 Hannes Mezger New Issue
2017-10-10 12:54 Hannes Mezger Status new => assigned
2017-10-10 12:54 Hannes Mezger Assigned To => Alexander Allmendinger
2017-10-30 22:54 Alexander Allmendinger Note Added: 0008624
2017-10-30 22:54 Alexander Allmendinger Status assigned => resolved
2017-10-30 22:54 Alexander Allmendinger Fixed in Version => 1.03.340.368
2017-10-30 22:54 Alexander Allmendinger Resolution open => fixed
2017-11-22 14:00 Hannes Mezger Note Added: 0008737
2017-11-22 14:00 Hannes Mezger Status resolved => feedback
2017-11-22 14:00 Hannes Mezger Resolution fixed => reopened
2017-11-23 10:26 Hannes Mezger Note Edited: 0008737
2017-12-07 16:41 Paul Hunkar Target Version => 1.04
2017-12-07 16:41 Paul Hunkar Note Added: 0008784
2017-12-07 16:41 Paul Hunkar Status feedback => assigned
2018-10-31 23:29 Alexander Allmendinger Assigned To Alexander Allmendinger => Paul Hunkar
2019-01-07 14:58 Paul Hunkar Note Added: 0009800
2019-01-07 14:59 Paul Hunkar Assigned To Paul Hunkar => Alexander Allmendinger
2019-01-28 14:10 Paul Hunkar Category Script Issue => 1 - Script Issue
2022-08-02 20:03 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Scripts
2023-12-15 12:09 Michael Fehler Assigned To Alexander Allmendinger => Michael Fehler
2024-03-01 14:01 Michael Fehler Status assigned => resolved
2024-03-01 14:01 Michael Fehler Fixed in Version 1.03.340.368 =>
2024-03-01 14:01 Michael Fehler Target Version 1.04 =>
2024-03-01 14:01 Michael Fehler Files Affected => /library/Base/settings.js
/maintree/Attribute Services/Attribute Alternate Encoding/Test Cases/001.js
/maintree/Attribute Services/Attribute Alternate Encoding/Test Cases/002.js
/default.ctt.xml
2024-04-04 15:37 Paul Hunkar Status resolved => closed
2024-04-04 15:37 Paul Hunkar Fixed in Version => 1.03.508
2024-04-04 15:37 Paul Hunkar Note Added: 0021090