validate.php:
[email protected]:~$ php ./validate.php
====================================
Component | Version
--------- | -------
LibreNMS | 21.10.2
DB Schema | 2021_10_03_164200_update_hrsystem_table (221)
PHP | 7.4.18
Python | 3.5.2
MySQL | 10.5.10-MariaDB-1:10.5.10+maria~xenial
RRDTool | 1.5.5
SNMP | NET-SNMP 5.7.3
====================================
[OK] Composer Version: 2.1.10
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
Firefox Version: 93.0
Steps to Reproduce:
- Edit a device
- Attempt to put the device in maintenance mode
- Get error toast message and NS_BINDING_ABORTED in Firefox network tools
Possible Solution:
- Edit “includes/html/modal/device_maintenance.inc.php”
- Change the button type on line 80 from “submit” to “button”
This is not a complete fix as the page doesn’t reload to show the changed maintenance status, but it at least submits the ajax request.