Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
I
iotivity-classic
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,289
    • Issues 3,289
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • IoTivity
  • iotivity-classic
  • Issues
  • #86

Closed
Open
Opened Apr 01, 2016 by Rami Alshafi@ramiOwner

[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]

  1. Start Container with ResourceContainerConfig.xml file

  2. 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

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: iotivity/iotivity-classic#86