[RI] Core resources("/oic/res", "/oic/d", "/oic/p") does not response with error Code when PUT/POST/DELETE request is sent
[Procedure]
-
Create any resource using Iotivity(e.g. simpleserver)
-
Start a client, and perform multicast resource discovery
-
"/oic/d" & "/oic/p" resources will list up along with other vendor resources.
-
Make a payload and send a POST request to "/oic/d"
-
Make a payload and send a PUT request to "/oic/d"
-
Make a payload and send a DELETE request to "/oic/d"
-
Repeat steps 4-6 for "/oic/p" & "/oic/res" resources
[Expectation] -
For all 3 resources, at step 4, 5 & 6 server should return 4.03(Bad Request) or 4.01(Unauthorized)
-
The representation should not change at step 4 & 5, and resources should not be deleted at step 6
[Actual] -
At step 4 & 5, 2.04(changed) and at step 6, 2.05(Content) was returned
-
The representation were not changed at step 4 & 5, and resources were not deleted at step 6
JIRA migration meta data
- JIRA Issue ID: IOT-1075
- Reporter: i.mushfiq
- Assignee: habib.virji
- Creator: i.mushfiq
- Created at: 2016-04-05T00:13:43.000-0700
- Found in Version: 1.1.0-RC2
- Fix in Version: 1.1.0-RC3
- Issue Severity: Major
- Reproducibility: Always (100%)
- Operating System: Ubuntu
- Hardware/ OEM Platform: None
- External URL: None
- Bugzilla ID: None
- Product: None
- Status: Closed
- Components: SDK
- Priority: P1
- Due Date: None
-
Issue Type: Bug
END of JIRA migration meta data