View Issue Details

IDProjectCategoryView StatusLast Update
0009612CTT UA Scripts4 - Test Case Definitionpublic2024-07-18 12:56
ReporterFabian Scheler Assigned ToSebastian Allmendinger  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Summary0009612: TransferSubscriptions-testcase Err-006.js behaves fails in case of ServiceResult BadTooManyOperations
Description

As can be seen in the screenshot, the testcase explicitly accepts the ServiceResult BadTooManyOperations but the testcase also complains that the number of results does not match the number of provided Subscription-Ids. This however is expected in case of a ServiceFault. The expected behavior is that the testcase succeeds if BadTooManyOperations is returned.

TagsNo tags attached.
Attached Files
image.png (186,149 bytes)   
image.png (186,149 bytes)   
Files Affected

/library/ServiceBased/SubscriptionServiceSet/TransferSubscriptions.js

Activities

Sebastian Allmendinger

2024-07-18 12:54

developer   ~0021482

In TransferSubscriptionsService.js an else-statement in case of a ServiceFault was already implemented, but the if-statement was not checking for a bad StatusCode. Therefore the validation failed if a bad ServiceResult was expected when TransferSubscription was called in a script.

Issue History

Date Modified Username Field Change
2024-06-19 08:32 Fabian Scheler New Issue
2024-06-19 08:32 Fabian Scheler File Added: image.png
2024-07-04 14:30 Paul Hunkar Assigned To => Sebastian Allmendinger
2024-07-04 14:30 Paul Hunkar Status new => assigned
2024-07-18 12:52 Sebastian Allmendinger Files Affected => /library/ServiceBased/SubscriptionServiceSet/TransferSubscriptions.js
2024-07-18 12:54 Sebastian Allmendinger Note Added: 0021482
2024-07-18 12:56 Sebastian Allmendinger Project CTT UA Test Case => CTT UA Scripts
2024-07-18 12:56 Sebastian Allmendinger Status assigned => resolved
2024-07-18 12:56 Sebastian Allmendinger Resolution open => fixed