Uploaded image for project: 'SiteWhere'
  1. SITEWHERE-257

Getters in MongoDB device management should return null if not found

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: Core
    • Labels:
      None

      Description

      The responses for calls in the MongoDB device management implementation are inconsistent. They should all return null if the object is not found by id. Many currently throw exceptions, which is not the expected behavior.

        Attachments

          Activity

            People

            • Assignee:
              dadams Derek Adams [Administrator]
              Reporter:
              dadams Derek Adams [Administrator]
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Stride room