Bug #1236

Illegal log_rotation_method values.

Added by italo penna over 4 years ago. Updated over 4 years ago.

Status:ClosedStart date:09/28/2009
Priority:UrgentDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution:duplicate

Description

Inside .../www/include/configuration/configNagios/formNagios.php, line 178 to 182 (part 5 of code blocks), radio input have changed values. ====================================== ORIGINAL CODE=============================================
/* * Part 5
*/
$nagTab = array();
$nagTab[] = &HTML_QuickForm::createElement('radio', 'log_rotation_method', null, 'n', _("None"));
$nagTab[] = &HTML_QuickForm::createElement('radio', 'log_rotation_method', null, 'h', _("Hourly"));
$nagTab[] = &HTML_QuickForm::createElement('radio', 'log_rotation_method', null, 'd', _("Daily"));
$nagTab[] = &HTML_QuickForm::createElement('radio', 'log_rotation_method', null, 'w', _("Weekly"));
$nagTab[] = &HTML_QuickForm::createElement('radio', 'log_rotation_method', null, 'm', _("Monthly"));
$form->addGroup($nagTab, 'log_rotation_method', _("Log Rotation Method"), '  ');
$form->addElement('text', 'log_archive_path', _("Log Archive Path"), $attrsText2);

History

#1 Updated by italo penna over 4 years ago

=================CORRECT CODE=================
/* * Part 5
*/
$nagTab = array();
$nagTab[] = &HTML_QuickForm::createElement('radio', 'log_rotation_method', null, 'None', _("n"));
$nagTab[] = &HTML_QuickForm::createElement('radio', 'log_rotation_method', null, 'Hourly', _("h"));
$nagTab[] = &HTML_QuickForm::createElement('radio', 'log_rotation_method', null, 'Daily', _("d"));
$nagTab[] = &HTML_QuickForm::createElement('radio', 'log_rotation_method', null, 'Weekly', _("w"));
$nagTab[] = &HTML_QuickForm::createElement('radio', 'log_rotation_method', null, 'Monthly', _("m"));
$form->addGroup($nagTab, 'log_rotation_method', _("Log Rotation Method"), '  ');
$form->addElement('text', 'log_archive_path', _("Log Archive Path"), $attrsText2);

#2 Updated by Julien Mathis over 4 years ago

  • Resolution set to worksforme

Hi,

I'm sorry but it's already fixed in 2.1.1.

Regards,

#3 Updated by Nikolaus Filus over 4 years ago

  • Status changed from New to Closed
  • Resolution changed from worksforme to duplicate

Also available in: Atom PDF