Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-7599

Node ReST service cannot update geolocation information

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 15.0.1
    • Fix Version/s: Meridian-2015.1.0, 15.0.2
    • Component/s: REST
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      The way Hibernate deals with @Embedded entities is that if none of the columns have data, the embedded object is null, rather than empty.

      The NodeRestService (and AssetRecordResource) do not assign the AssetRecord an OnmsGeolocation object before attempting to use a BeanWrapper to set properties on it, so it is impossible to add, say, longitude/latitude to a node's asset records.

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              ranger Benjamin Reed
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: