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

Node ReST service cannot update geolocation information

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • 15.0.1
    • Meridian-2015.1.0, 15.0.2
    • REST
    • Security Level: Default (Default Security Scheme)
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: