Project

General

Profile

Bug #8502

main (top) menu items do not drop down in some cases

Added by Constantine Kormashev about 1 year ago. Updated 9 months ago.

Status:
Confirmed
Priority:
Low
Assignee:
-
Category:
Web Interface
Target version:
Start date:
05/09/2018
Due date:
% Done:

0%

Estimated time:
Affected Version:
Affected Architecture:

Description

During testing php7 found main (top) menu items do not drop down on final pages of some pkgs, e.g. arpping, mtr. These pkgs do not have a problem themselves, stat page, processing and result page are well, this is only web-gui menu issue.
Stephen Beaver confirmed this is not php7 related issue.

History

#1 Updated by Steve Beaver about 1 year ago

  • Status changed from New to Feedback

Almost any PHP error anywhere in the system will break the menu system. This issue should be resolved when the last of the PHP7 issues have been resolved.

#2 Updated by Jim Pingle about 1 year ago

  • Status changed from Feedback to Confirmed

Some packages, including arping, mtr, nmap, and iperf, all behave this way. They use XML pages but when the user clicks the submit button they have a custom <custom_add_php_command> which runs the command, dumps the output, and then calls exit. The abrupt end makes sure the "settings" are not saved since they are not supposed to be persistent, but it also appears to cause the JS for the menus to fail, and presumably some other issues that have not yet been noticed.

This isn't new behavior though, it's been this way for years and isn't related to PHP 7.x changes. The nmap package even includes a JS button to go back to the nmap page so the user has a way to navigate back.

There is probably a much better way to handle the requirements of these packages rather than the kludge they use now.

Since this is not a regression this can be kicked forward to future versions as needed.

#3 Updated by Steve Beaver 12 months ago

  • Target version changed from 2.4.4 to Future

#4 Updated by Jim Pingle 11 months ago

Also affects the Apple IPsec Profile generator. See #8709

#5 Updated by Chris Macmahon 9 months ago

ran arpping package 1.2.2_1, executed ping to mac, hover menu's don't populate, no crash recorded
ran package iperf (client) 2.0.5.5_3, to host package ran displayed results, hover menus didn't populate, no crash reported
ran package iperf (server) 2.0.5.5_3, client connected package ran displayed results, hover menus didn't populate, no crash reported
ran package mtr-nox 0.85.6_1, ran mtr to host, after complete hover menu's didn't populate, no crash reported
ran package nmap 1.4.4_1, scanned host, results displayed hover menu's didn't populate, no crash reported

Also available in: Atom PDF