Commit f67714c724a71c2c873afe80d93c000326ef0abc

Authored by Miguel Angel Reina Ortega
1 parent 6ccf0ae2

Fix #62

Signed-off-by: reinaortega <miguelangel.reinaortega@etsi.org>
... ... @@ -2172,8 +2172,13 @@ module OneM2M_PermutationFunctions {
2172 2172  
2173 2173 v_resourceIndex := f_cse_createResource(p_resourceType, p_requestPrimitive, v_aeIndex);
2174 2174  
2175   - v_request := f_getCreateRequestPrimitive(p_resourceType, p_requestPrimitive, v_aeIndex);
2176   -
  2175 + if(p_resourceType == int15) {
  2176 + v_request := f_getCreateRequestPrimitive(int3, m_createContainerBase, v_aeIndex);
  2177 + v_request.primitiveContent.container.resourceName := vc_resourcesList[v_resourceIndex].resource.pollingChannel.resourceName;
  2178 + } else {
  2179 + v_request := f_getCreateRequestPrimitive(p_resourceType, p_requestPrimitive, v_aeIndex);
  2180 + }
  2181 +
2177 2182 // Test Body
2178 2183 v_request.requestIdentifier := "Existing resource";
2179 2184  
... ...