Module: nagvis
Branch: master
Commit: 82bc1deea9be4afa3db2414c1a175cbb3e7a5884
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=82bc1deea9be4afa3db2414c1a175cbb3e7a5884

Author: LaMi <[email protected]>
Date:   Tue Apr  6 23:13:00 2010 +0200

Added missing error mesages

---

 share/server/core/classes/CoreAuthHandler.php |    4 ++--
 share/server/core/classes/GlobalMapCfg.php    |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/share/server/core/classes/CoreAuthHandler.php 
b/share/server/core/classes/CoreAuthHandler.php
index 5fa2834..6d13370 100644
--- a/share/server/core/classes/CoreAuthHandler.php
+++ b/share/server/core/classes/CoreAuthHandler.php
@@ -67,7 +67,7 @@ class CoreAuthHandler {
                if($aData !== false) {
                        $this->MOD->passCredentials($aData);
                } else {
-                       //FIXME: error handling
+                       new GlobalMessage('ERROR', 
$this->CORE->getLang()->getText('Data has an invalid format'));
                }
        }
        
@@ -78,7 +78,7 @@ class CoreAuthHandler {
                if($aData !== false) {
                        $this->MOD->passNewPassword($aData);
                } else {
-                       //FIXME: error handling
+                       new GlobalMessage('ERROR', 
$this->CORE->getLang()->getText('Data has an invalid format'));
                }
        }
        
diff --git a/share/server/core/classes/GlobalMapCfg.php 
b/share/server/core/classes/GlobalMapCfg.php
index 1fc8d57..b900851 100644
--- a/share/server/core/classes/GlobalMapCfg.php
+++ b/share/server/core/classes/GlobalMapCfg.php
@@ -1672,7 +1672,7 @@ class GlobalMapCfg {
                                                        // Check wether a 
object has line_type set and not view_type=line
                                                        // Update: Only check 
this when not in WUI!
                                                        // Update: Don't check 
this for stateless lines
-                                                       // FIXME: This check 
should be removed in 1.5 or 1.6
+                                                       // FIXME: This check 
should be removed in 1.6
                                                        if($type != 'line' && 
$key == 'line_type' && !isset($element['view_type']) && !$this instanceof 
WuiMapCfg) {
                                                                throw new 
$exception($this->CORE->getLang()->getText('lineTypeButViewTypeNotSet', 
Array('MAP' => $this->getName(), 'TYPE' => $type)));
                                                        }


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to