View Issue Details

IDProjectCategoryView StatusLast Update
0004456Compliance Test Tool (CTT) Unified Architecture5 - General Problempublic2019-07-25 15:28
ReporterBernd Edlinger Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformPCOSWindowsOS Version8.1
Product Version1.03.341.383 
Target Version1.03Fixed in Version1.03.341.383 
Summary0004456: Monitor Basic/Err-033.js fails
Description

Looks like a logic error in the script:

    // delete monitored item, but temporarily break it's monitoredItemId
    items[0].MonitoredItemId += 0x1234;
    DeleteMonitoredItemsHelper.Execute( { SubscriptionId: MonitorBasicSubscription, ItemsToDelete: items[0], OperationResults: new ExpectedAndAcceptedResults( StatusCode.BadMonitoredItemIdInvalid ) } );
    items[0].MonitoredItemId -= 0x1234;
    DeleteMonitoredItemsHelper.Execute( { ItemsToDelete: items, SubscriptionId: MonitorBasicSubscription } );

both DeleteMI call fail like this:
DeleteMonitoredItems().Response.Results[0] = Good (0x00000000), but BadMonitoredItemIdInvalid (0x80420000);
DeleteMonitoredItems: Results[4660] is not good: BadMonitoredItemIdInvalid (0x80420000)

note: 0x1234 = 4660, thus the first call seems to delete a different item,
and then the second call Fails as well, because the first call did
delete the MI#4660

TagsNo tags attached.
Files Affected

Activities

Paul Hunkar

2018-11-12 15:58

administrator   ~0009582

fix script to use a larger item id, like x4321

Alexander Allmendinger

2018-12-06 16:49

developer   ~0009672

Changed the MonitoredItemId to a higher number which should be out of range.

Paul Hunkar

2019-07-25 15:28

administrator   ~0010615

Reviewed in CMP Call

Issue History

Date Modified Username Field Change
2018-11-12 15:28 Bernd Edlinger New Issue
2018-11-12 15:56 Paul Hunkar Assigned To => Alexander Allmendinger
2018-11-12 15:56 Paul Hunkar Status new => assigned
2018-11-12 15:58 Paul Hunkar Note Added: 0009582
2018-12-06 16:49 Alexander Allmendinger Note Added: 0009672
2018-12-06 16:49 Alexander Allmendinger Status assigned => resolved
2018-12-06 16:49 Alexander Allmendinger Fixed in Version => 1.03.341.383
2018-12-06 16:49 Alexander Allmendinger Resolution open => fixed
2019-01-28 14:14 Paul Hunkar Category General Problem => 4 - General Problem
2019-01-28 14:15 Paul Hunkar Category 4 - General Problem => 5 - General Problem
2019-07-25 15:28 Paul Hunkar Target Version => 1.03
2019-07-25 15:28 Paul Hunkar Status resolved => closed
2019-07-25 15:28 Paul Hunkar Note Added: 0010615