Author:   Lars Michelsen <[email protected]>
Date:     Wed Jun 13 12:01:20 2012 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Wed Jun 13 12:01:20 2012 +0200

Bugfix: Better catching of exceptions on nested maps

---

 ChangeLog                                          |    2 ++
 TODO                                               |   11 +++++++++--
 share/server/core/classes/objects/NagVisMapObj.php |    2 ++
 3 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 02908b3..48cc52a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,6 @@
 1.7b3
+Core
+  * Bugfix: Better catching of exceptions on nested maps
 Frontend
   * Bugfix: When releasing relative coordinates the parent object is not 
highlighted anymore
 
diff --git a/TODO b/TODO
index 538e04a..9b04fe3 100644
--- a/TODO
+++ b/TODO
@@ -2,7 +2,6 @@ This is a small file for storing quick thoughts about new 
features and needed ch
 ===============================================================================
 
 Probleme:
-  - An Shapes anheften fehlt
   - Sidebar auf/zu verschiebt Objekte, aber nicht den Hintergrund
   - Warnings anzeigen, wenn Funktionen aus oldPhpVersionFixes.php angezogen 
werden
 
@@ -38,12 +37,20 @@ Nice2have:
 
 Relative Koordinaten:
   - Wie funktionieren Linien zu Linien Referenzen? Geht das überhaupt?
+  - An Shapes anheften fehlt - Eventuell auch nicht. Was ist denn, wenn man 
Shapes
+    als Design Elemente nutzen möchte, die einfach im Hintergrund liegen? 
Eventuell
+    muss man das beim Shape konfigurierbar machen.
 - Sidebar Folder auf/zu klappbar
 - In Sidebar/Dropdown die aktuelle Map highlighten
 
+-------------------------------------------------------------------------------
+
 - Zeige Rotations in Sidebar
 
--------------------------------------------------------------------------------
+- Verzeichnis-Hierarchie unterhalb von maps/
+  - Anstatt flachem Listing einen Walk machen
+  - Map-Name enthält dann den Pfad relativ zum Maps Verzeichnis
+  - Eventuell auch auf Teile des Map Namens (Verzeichnisse) Rechte verteilen
 
 - Make stateless lines or other single part lines splittable
 
diff --git a/share/server/core/classes/objects/NagVisMapObj.php 
b/share/server/core/classes/objects/NagVisMapObj.php
index 44f8a3d..1ded8f1 100644
--- a/share/server/core/classes/objects/NagVisMapObj.php
+++ b/share/server/core/classes/objects/NagVisMapObj.php
@@ -404,6 +404,8 @@ class NagVisMapObj extends NagVisStatefulObject {
                             $SUBMAPCFG->readMapConfig();
                         } catch(MapCfgInvalid $e) {
                             $mapCfgInvalid = l('Map Configuration Error: 
[ERR]', Array('ERR' => $e->getMessage()));
+                        } catch(Exception $e) {
+                            $mapCfgInvalid = l('Problem while processing map: 
[ERR]', Array('ERR' => (string) $e));
                         }
                     }
 


------------------------------------------------------------------------------
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