fixed the validation issue #37

Merged
inosh merged 1 commits from ThilinaPremachandra/device-mgt-core:error-msg-device-status into master 2 years ago

Purpose


Approach


  • The mentioned values were not validated and those values will validated now through a switch case. and the error message was updated.
  • and the enrolment information related to these values were not returned from the DAO layer and these values were added for that and now they are being returned.
**Purpose** ----- * fixes https://roadmap.entgra.net/issues/9678 **Approach** ----- * The mentioned values were not validated and those values will validated now through a switch case. and the error message was updated. * and the enrolment information related to these values were not returned from the DAO layer and these values were added for that and now they are being returned.
ThilinaPremachandra added 1 commit 2 years ago
tcdlpds requested changes 2 years ago
case "REMOVED":
case "BLOCKED":
case "CREATED":
case "CONFIGURED":
Owner

This is method duplication, this will not related to the issue that has been fixed. But IMO in a seperate effort it is better to improve this as well. Therefore create an issue for it.

This is method duplication, this will not related to the issue that has been fixed. But IMO in a seperate effort it is better to improve this as well. Therefore create an issue for it.
tcdlpds approved these changes 2 years ago
ThilinaPremachandra closed this pull request 2 years ago
ThilinaPremachandra reopened this pull request 2 years ago
inosh merged commit 25d3428355 into master 2 years ago

Reviewers

tcdlpds approved these changes 2 years ago
The pull request has been merged as 25d3428355.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: community/device-mgt-core#37
Loading…
There is no content yet.