wso2 / carbon-device-mgt

Apache License 2.0
53 stars 113 forks source link

Removing code that leads to an exception when retrieved device count is 0 #1190

Closed ruwany closed 6 years ago

ruwany commented 6 years ago

Purpose

When retrieving devices, there should be no error thrown when device count is 0

Goals

When navigating to the store in APPM, whilst 0 devices are enrolled in IoT Server, when the UI loads, there is an error thrown. This will rectify the issue.

Approach

Removed DeviceManagementException thrown when retrieved device count is 0

User stories

N/A

Release note

Fixed exception thrown when device count is 0

Documentation

N/A

Training

N/A

Certification

N/A

Marketing

N/A

Automation tests

Security checks

Samples

N/A

Related PRs

N/A

Migrations (if applicable)

N/A

Test environment

N/A

Learning

N/A.