-
Type:
Incident report
-
Resolution: Fixed
-
Priority:
Critical
-
Affects Version/s: None
-
Component/s: Frontend (F)
-
None
undefined variables and hardcoded strings have been introduced recently.
api/classes/class.caction.php has :
1. undefined variables used :
S_NOPERMISSIONS
S_HOSTGROUP
2. hardcoded, untranslatable strings :
'Incorrect parameters used for Conditions'
'Incorrect parameters used for Operations'
'Incorrect parameters used for Action [ '.$action['name'].' ]' (4 times !)
include/actions.inc.php has :
3. undefined variable used :
S_INCORRECT_OBJECT_TYPE
api/class.calert.php has :
4. hardcoded string :
'Empty input parameter [ alertids ]'
api/class.capplication.php has :
5. hardcoded strings :
'Cannot create application'
'Incorrect fields for application'
'Cannot update application'
'Cannot delete application'
api/class.cevent.php has :
6. hardcoded strings :
'You do not have enough rights for operation'
'Empty input parameter [ eventids ]'
other api files have more hardcoded strings.
tr_logform.php has :
7. undefined variable used :
$page['title'] = 'S_TRIGGER_LOG';