[RC][Android] Null value, Empty String value accepted by registerResource()
registerResource() api doesn't returns void. If bundleId is invalid or null or empty string value, api should throw or return something to ensure the "failed to register".
[Procedure]
-
Start Container with ResourceContainerConfig.xml file
-
Perform registerResource() with null/empty bundleId
[Expected]
This API should throw exception while the bundleId is invalid/empty string/null value
[Observation]
registerResource() API don't have any return value and also didn't throw any exception when calling this api with invalid/empty string/null value
JIRA migration meta data
- JIRA Issue ID: IOT-1071
- Reporter: arafat.hsn
- Assignee: mjun85
- Creator: arafat.hsn
- Created at: 2016-04-01T06:42:53.000-0700
- Found in Version: 47bdb4f4
- Fix in Version: None
- Issue Severity: Minor
- Reproducibility: Always (100%)
- Operating System: None
- Hardware/ OEM Platform: None
-
External URL:
https://gerrit.iotivity.org/gerrit/#/c/7567/ - Bugzilla ID: None
- Product: None
- Status: Closed
- Components: SDK
- Priority: P2
- Due Date: None
-
Issue Type: Bug
END of JIRA migration meta data