Fixed
Details
Details
Assignee
Benjamin Reed
Benjamin ReedReporter
Benjamin Reed
Benjamin ReedComponents
Fix versions
Affects versions
Priority
PagerDuty
PagerDuty
Created April 4, 2015 at 11:42 AM
Updated April 4, 2015 at 11:43 AM
Resolved April 4, 2015 at 11:43 AM
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.