View Issue Details

IDProjectCategoryView StatusLast Update
0003367Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2019-07-25 15:07
ReporterMartin Lang Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.02.336.273 
Target Version1.03Fixed in Version1.03.341.383 
Summary0003367: Data Access DataItems/015.js - scipt throws unexpected error if server does not support Subscription
Description

used CTT version 1.2.336.256
Script throws unexpected error: ReferenceError: Can't find variable: uastatus, caused by line 224.

Create Subsciption will not be Good, but there is no check for success.

Steps To Reproduce
  • start server without support for subscription
  • run script
Additional Information

Current code snippet:
...
// Create subscription for this test
subscription = new Subscription();
CreateSubscriptionHelper.Execute( {
Subscription: subscription
} );
...

Possible fix:
// Create subscription for this test
if( !CreateSubscriptionHelper.Execute( { Subscription: subscription } ) )
return( false );

TagsNo tags attached.
Files Affected

Activities

Martin Lang

2016-06-06 15:56

reporter   ~0007003

related to issue 3445

Nathan Pocock

2016-08-05 14:35

viewer   ~0007129

Implemented suggested fix. Will be in next release version. Will close this case on release.

Alexander Allmendinger

2018-12-19 09:17

developer   ~0009735

Script is now exiting in case the creation of the subscription fails.

Paul Hunkar

2019-07-25 15:07

administrator   ~0010602

reviewed in CMP call

Issue History

Date Modified Username Field Change
2016-03-03 14:37 Martin Lang New Issue
2016-06-06 15:56 Martin Lang Note Added: 0007003
2016-08-05 14:35 Nathan Pocock Note Added: 0007129
2016-08-05 14:35 Nathan Pocock Status new => resolved
2016-08-05 14:35 Nathan Pocock Resolution open => fixed
2016-08-05 14:35 Nathan Pocock Assigned To => Nathan Pocock
2018-11-19 20:50 Paul Hunkar Assigned To Nathan Pocock => Alexander Allmendinger
2018-11-19 20:50 Paul Hunkar Status resolved => assigned
2018-12-19 09:17 Alexander Allmendinger Note Added: 0009735
2018-12-19 09:17 Alexander Allmendinger Status assigned => resolved
2018-12-19 09:17 Alexander Allmendinger Fixed in Version => 1.03.341.383
2019-07-25 15:07 Paul Hunkar Category Implementation Bug => 1 - Script Issue
2019-07-25 15:07 Paul Hunkar Product Version => 1.02.336.273
2019-07-25 15:07 Paul Hunkar Target Version => 1.03
2019-07-25 15:07 Paul Hunkar Status resolved => closed
2019-07-25 15:07 Paul Hunkar Note Added: 0010602