View Issue Details

IDProjectCategoryView StatusLast Update
0004734Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2021-07-09 15:39
ReporterGerhard Gappmeier Assigned ToSebastian Allmendinger  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version1.03.341.389 
Target Version1.03Fixed in Version1.03.341.394 
Summary0004734: Server triggers error "TODO: Prepare new request with all of the CPs to clear."
Description

Correct CTT Version: 1.03.341.389 (missing in mantis)
The error is triggered from afterTest.js
The error is located in HistoryRead.js:134

The problem is that the servers returns an error status: BadHistoryOperationUnsupported and an empty continuationpoint.
Empty means length=0.
The implementation in HistoryRead.js sets the variable doClearCPs to true,
because this.Response.Results[i].ContinuationPoint.isEmpty() returns false, instead of true.

Most likely the ByteString.isEmpty is implemented wrong and checks for -1 (like in isNull).
isEmpty should return true for length==-1 and length==0.

Beside the isEmpty bug, also the TODO should get implemented.

Steps To Reproduce

Run test against any server which returns an empty CP in HistoryRead.

TagsNo tags attached.
Files Affected

Relationships

related to 0005374 closedAlexander Allmendinger ByteString.isEmpty() function does not return true when the ByteString is empty 

Activities

Sebastian Allmendinger

2021-06-16 15:39

developer   ~0014571

Both issues have already been resolved.
In the latest version of the CTT, isEmpty() returns true for length == -1 and length == 0.
The "TODO" has already been implemented by Archie Miller during his enhancements for Aggregates.

Paul Hunkar

2021-07-09 15:39

administrator   ~0014682

review in cmp call, agreed that changes were fixed in other issues or updates, closed issue

Issue History

Date Modified Username Field Change
2019-04-18 08:58 Gerhard Gappmeier New Issue
2019-04-19 14:57 Paul Hunkar Product Version 1.03.341.383 => 1.03.341.389
2019-04-19 14:57 Paul Hunkar Assigned To => Alexander Allmendinger
2019-04-19 14:57 Paul Hunkar Status new => assigned
2019-04-19 14:58 Paul Hunkar Target Version => 1.03
2021-06-16 15:39 Sebastian Allmendinger Assigned To Alexander Allmendinger => Sebastian Allmendinger
2021-06-16 15:39 Sebastian Allmendinger Status assigned => resolved
2021-06-16 15:39 Sebastian Allmendinger Resolution open => no change required
2021-06-16 15:39 Sebastian Allmendinger Fixed in Version => 1.03.341.394
2021-06-16 15:39 Sebastian Allmendinger Note Added: 0014571
2021-07-09 15:39 Paul Hunkar Relationship added related to 0005374
2021-07-09 15:39 Paul Hunkar Status resolved => closed
2021-07-09 15:39 Paul Hunkar Note Added: 0014682