Author:   Lars Michelsen <[email protected]>
Date:     Sun Sep  2 11:55:29 2012 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Sun Sep  2 11:55:29 2012 +0200

Bugfix: Geomaps use real generated object_ids instead of hostnames for
transactions (prevents problems with spaces in hostnames and so on)

---

 ChangeLog                            |    5 +++++
 share/server/core/sources/geomap.php |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 453b606..1426670 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1.7b4
+Core
+  * Bugfix: Geomaps use real generated object_ids instead of hostnames for 
transactions
+    (prevents problems with spaces in hostnames and so on)
+
 1.7b3
 Core
   * Allowing empty lines in main configuration sections now
diff --git a/share/server/core/sources/geomap.php 
b/share/server/core/sources/geomap.php
index fd6e472..901a3a1 100644
--- a/share/server/core/sources/geomap.php
+++ b/share/server/core/sources/geomap.php
@@ -147,7 +147,7 @@ function process_geomap($MAPCFG, $map_name, &$map_config) {
             'type'      => 'host',
             'host_name' => $loc['name'],
             'iconset'   => $iconset,
-            'object_id' => $loc['name'],
+            'object_id' => $MAPCFG->genObjId($loc['name']),
             'alias'     => $loc['alias'],
             'lat'       => $loc['lat'],
             'long'      => $loc['long'],


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to