SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0003333: Firewall diagrams don't open - MantisBT
MantisBT - Endian Firewall
View Issue Details
0003333Endian FirewallGUIpublic2010-11-26 23:232012-01-20 08:47
gmar_87 
max-endian 
normaltweakalways
confirmedreopened 
 
 
0003333: Firewall diagrams don't open
After clicking on a firewall diagram and grey box appears with previous, next and X, but no enlarged image.
See screenshot attached
purple
jpg Firewall_diagrams_bug.jpg (43,545) 2010-11-26 23:23
https://bugs.endian.com/file_download.php?file_id=551&type=bug
jpg

html gallery.html (1,784) 2010-12-05 22:06
https://bugs.endian.com/file_download.php?file_id=561&type=bug
? gallery.mak (1,589) 2010-12-05 22:07
https://bugs.endian.com/file_download.php?file_id=562&type=bug
css gallery.css (3,263) 2010-12-05 22:08
https://bugs.endian.com/file_download.php?file_id=563&type=bug
Issue History
2010-11-26 23:23gmar_87New Issue
2010-11-26 23:23gmar_87File Added: Firewall_diagrams_bug.jpg
2010-11-26 23:27gmar_87Note Added: 0005221
2010-11-28 20:31ra-endianAssigned To => max-endian
2010-12-05 22:06max-endianFile Added: gallery.html
2010-12-05 22:07max-endianFile Added: gallery.mak
2010-12-05 22:08max-endianFile Added: gallery.css
2010-12-05 22:11max-endianNote Added: 0005302
2010-12-05 22:11max-endianStatusnew => closed
2010-12-05 22:11max-endianResolutionopen => fixed
2010-12-07 06:23max-endianNote Added: 0005310
2010-12-07 06:23max-endianStatusclosed => resolved
2010-12-07 08:50gmar_87Note Added: 0005311
2010-12-07 08:50gmar_87Statusresolved => feedback
2010-12-07 08:50gmar_87Resolutionfixed => reopened
2010-12-07 10:34max-endianNote Added: 0005315
2010-12-07 10:34max-endianStatusfeedback => resolved
2010-12-07 10:34max-endianResolutionreopened => fixed
2011-01-03 14:51luca-endianStatusresolved => feedback
2011-01-03 14:51luca-endianResolutionfixed => reopened
2011-01-03 14:51luca-endianTag Attached: purple
2011-01-03 14:51luca-endianStatusfeedback => confirmed
2011-01-20 09:23ra-endianCustomer Occurencies => 0
2011-02-18 17:43ra-endianSeverityminor => tweak
2011-08-12 14:13andreluizNote Added: 0007311

Notes
(0005221)
gmar_87   
2010-11-26 23:27   
/var/log/emi
************
Nov 27 10:08:38 PROXY1 emi[5123]: Could not trigger unknown action '' of class 'FirewallDiagramController'
(0005302)
max-endian   
2010-12-05 22:11   
Hi

Suddenly the jquery guys have removed the gallery function, so I have rewritten the code with other jquery functions.

To fix the problem please replace the the following files with the one I have uploaded:

/var/lib/python2.4/site-packages/endian/emi/templates/gallery.html
/var/lib/python2.4/site-packages/endian/emi/templates/gallery.mak
/var/lib/python2.4/site-packages/endian/emi/static/css/gallery.css

The debug message is just resolved in a other bugfix.
(0005310)
max-endian   
2010-12-07 06:23   
Sorry, the filepaths should be those:

/usr/lib/python2.4/site-packages/endian/emi/templates/gallery.html
/usr/lib/python2.4/site-packages/endian/emi/templates/gallery.mak
/usr/lib/python2.4/site-packages/endian/emi/static/css/gallery.css
(0005311)
gmar_87   
2010-12-07 08:50   
Thanks for the replacement files. Diagrams are now working, but i still get this in /var/log/emi

Dec 7 19:48:10 PROXY1 emi[5125]: Could not trigger unknown action '' of class 'FirewallDiagramController'
(0005315)
max-endian   
2010-12-07 10:34   
Hi!

Replace the following function in /var/lib/python2.4/endian/emi/controller.py or wait for the next release, because the error has no influence on the rest...:

    def processCustomAction(self,args,action):
        triggered = False
        targs = {}
        if action == "":
            return targs
        if hasattr(self, action):
            # trigger the action
            debug("Triggering action %s->%s: %s" % (self, action, args))
            targs = getattr(self, action)(**args)
            triggered = True
        if hasattr(self, "_%s" % action):
            # trigger the _action
            debug("Triggering action %s->_%s: %s" % (self, "_%s" % action, args))
            targs.update(getattr(self, '_%s'%action)(**args))
            triggered = True
        if not triggered:
            error("Could not trigger unknown action '%s' of class '%s'" % (action, self.__class__.__name__))

        return targs
(0007311)
andreluiz   
2011-08-12 14:13   
hello max-endian, controllers.pyc my file is in trouble, would send the file so you can put on my firewall, the version is 2.4.1?