Page 1 of 1

["backButton"] value in NagiosXI

Posted: Wed Apr 13, 2016 1:51 am
by ankit_bansal3
We observed that "backButton" in $_POST is not having any value.
Due to that NagiosXI wizard back button logic is not working

["backButton"]=> string(0) "" }

Re: ["backButton"] value in NagiosXI

Posted: Wed Apr 13, 2016 8:10 am
by scottwilkerson
Which wizard are you referring to? Also what version of Nagios XI are you using?

Re: ["backButton"] value in NagiosXI

Posted: Wed Apr 13, 2016 10:59 pm
by ankit_bansal3
We saw this issue is even with NagiosXI Demo wizard where below logic is not working

//check to see if this is a fresh wizard run, or if we're coming back from a later stage
$back = htmlentities(grab_array_var($_POST,'backButton',false),ENT_QUOTES);
//clear any previous session data for this wizard, start a new session array
if(!$back)
{
unset($_SESSION['wizarddemo']);
//create a new session array to hold data from different stages
$_SESSION['wizarddemo'] = array();
}

We are using NagiosXI 5.2.x for our wizard development.

Re: ["backButton"] value in NagiosXI

Posted: Thu Apr 14, 2016 12:01 pm
by rkennedy
I'm still unable to reproduce with any wizards, are you talking about the demo that shows you the new features about XI?