Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
unspecified
-
None
-
None
-
Operating System: All
Platform: All
-
4176
-
High
Description
When a subscription resource is created under a container resource, the state tag in the container resource does not increment. Note that creating contentInstance does increment the stateTag
Example below shows a container resource with 3 contentInstances and 2 subscriptions. Its state tag is =3, should be =5
{ "cni": 3, "mni": 10, "ty": 3, "cr": "//localhost:10000", "cbs": 24, "rn": "/ODL-oneM2M-Cse/TestAE/TestContainer", "lbl": [ "key1" ], "or": "http://hey/you", "mbs": 30, "ri": "/ODL-oneM2M-Cse/b", "st": 3, "lt": "20150824T173328Z", "pi": "/ODL-oneM2M-Cse/a", "ct": "20150824T165418Z" }
,
,
,
,
,
{ "con": "My Data2", "ty": 4, "rn": "/ODL-oneM2M-Cse/TestAE/TestContainer/TestContentInstance2", "ri": "/ODL-oneM2M-Cse/d", "lt": "20150824T165524Z", "st": 2, "pi": "/ODL-oneM2M-Cse/b", "ct": "20150824T165524Z", "cs": 8 }