View Issue Details

IDProjectCategoryView StatusLast Update
0006115Compliance Test Tool (CTT) Unified Architecture3 - Feature Requestpublic2020-10-02 14:13
ReporterPaul Hunkar Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityN/A
Status assignedResolutionopen 
Summary0006115: New test case for empty vs null ReferenceDescription[] in BrowseResult
Description

The spec is clear that encoders and decoders shall preserve the difference between a null and empty arrays.

I've observed that some servers, when returning a BrowseResult with no matches, will return a null ReferenceDescription[] array instead of an empty one. The description for BrowseResult in Part 4, Section 7.3, clearly states that this array shall be empty:

The set of references that meet the criteria specified in the BrowseDescription. Empty, if no References met the criteria.
The Reference Description type is defined in 7.25.

I propose a test case that asserts servers return an empty array and not a null array here.

Additional Information

This clone is to test the browse functionality - the main issue will require other enhancement (thus breaking it into two issues)

this should be added to viewbasic - good test case

TagsNo tags attached.
Files Affected

Activities

Paul Hunkar

2020-10-02 14:13

administrator   ~0013006

create a script for the new test case

Issue History

Date Modified Username Field Change
2020-10-02 14:12 Paul Hunkar New Issue
2020-10-02 14:12 Paul Hunkar Status new => assigned
2020-10-02 14:12 Paul Hunkar Assigned To => Alexander Allmendinger
2020-10-02 14:12 Paul Hunkar Issue generated from: 0006110
2020-10-02 14:13 Paul Hunkar Note Added: 0013006