["backButton"] value in NagiosXI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ankit_bansal3
Posts: 20
Joined: Wed Mar 18, 2015 4:38 am

["backButton"] value in NagiosXI

Post 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) "" }
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: ["backButton"] value in NagiosXI

Post by scottwilkerson »

Which wizard are you referring to? Also what version of Nagios XI are you using?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ankit_bansal3
Posts: 20
Joined: Wed Mar 18, 2015 4:38 am

Re: ["backButton"] value in NagiosXI

Post 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.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: ["backButton"] value in NagiosXI

Post 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?
Former Nagios Employee
Locked