Commit 600ba405 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Correction on f_generateLocalResource to allow creation of container when no...


Correction on f_generateLocalResource to allow creation of container when no attributes are provided
Signed-off-by: Miguel Angel Reina Ortega's avatarreinaortega <miguelangel.reinaortega@etsi.org>
parent 2a93b1b0
......@@ -3067,7 +3067,9 @@ module OneM2M_Functions {
}
} else if(p_resourceType == int3 and ispresent(p_resource)) { //Container
if(ischosen(p_resource.container)){
v_myResource.container := valueof(p_resource.container);
if(isvalue(p_resource.container)) {
v_myResource.container := valueof(p_resource.container);
}
v_myResource.container.resourceType := p_resourceType;
v_myResource.container.parentID := f_getResourceId(vc_localResourcesList[p_parentIndex].resource);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment