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

0001565: RecursiveNull object is not comparable - MantisBT
MantisBT - Endian Firewall
View Issue Details
0001565Endian FirewallOther Servicespublic2009-02-16 14:462009-10-27 12:01
0001565: RecursiveNull object is not comparable
Cheetah's RecursiveNull, which is used when a variable is not defined, is not comparable.

Cheetah expressions like this:

#if HA_ENABLED != 'on'

will always be False when the variable is not defined within the searchlist, even when replaced with RecursiveNull(), which is equal to ''

add a comparator to the RecursiveNull class:

def __eq__(self, x):
    return x == ''
No tags attached.
child of 0001489closed peter-endian Remote syslog not working 
Issue History
2009-02-16 14:46peter-endianNew Issue
2009-02-16 14:46peter-endianAssigned To => peter-endian
2009-02-16 14:46peter-endianIssue generated from: 0001489
2009-02-16 14:46peter-endianRelationship addedchild of 0001489
2009-02-16 15:08peter-endianStatusnew => confirmed
2009-02-16 15:54peter-endianStatusconfirmed => resolved
2009-02-16 15:54peter-endianFixed in Version => 2.3
2009-02-16 15:54peter-endianResolutionopen => fixed
2009-10-27 12:01peter-endianStatusresolved => closed

There are no notes attached to this issue.