[IOTDM-70] Compliance - IoTDM is allowing to set both [accc|accr] under acp/acco/aclr Created: 06/Mar/17  Updated: 19/Oct/17

Status: Open
Project: iotdm
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Anil Pandey Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 7908

 Description   

Current behavior - I am able to configure both the countrycode and circRegion elements under ACP. Both "acp:acco/aclr/accc" & "acp:acco/aclr/accr"

Following is the o/p of the created ACP. We are able to see accr and accc under acp.

{"m2m:acp":{"ct":"20170306T150447","ty":1,"pv":{"acr":[{"acco":[{"aclr":{"accr":["1.0","2.0","3.0"],"accc":["IN"]}}],"acor":["admin"],"acop":63}]},"ri":"01pi","lt":"20170306T150447","pi":"/InCSE1/01p3","pvs":{"acr":[{"acco":[{"aclr":{"accc":["IN"]}}],"acor":["admin"],"acop":63}]},"rn":"01pi","et":"29991231T111111"}}
' does not contain '"pv":{"acr":[{"acco":[{"aclr":{"accc":["IN"]}}],"acor":["admin"],"acop":63}]}

Expected behavior -
According to spec TS 004 -
A locationRegion shall contain either:
1) A countryCode element, in which case circRegion shall not appear, or
2) A circRegion element, in which case countryCode shall not appear

As per spec, Both the countryCode & circRegion should not be allowed to configure at same time under acco/aclr.


Generated at Wed Feb 07 20:05:06 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.