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) "" }
["backButton"] value in NagiosXI
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: ["backButton"] value in NagiosXI
Which wizard are you referring to? Also what version of Nagios XI are you using?
-
ankit_bansal3
- Posts: 20
- Joined: Wed Mar 18, 2015 4:38 am
Re: ["backButton"] value in NagiosXI
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.
//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
I'm still unable to reproduce with any wizards, are you talking about the demo that shows you the new features about XI?
Former Nagios Employee