You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We tested the new migration tool for dashboard from the monitoring modul to icingadb-web - wich cames with the latest version of icingaweb/icingadb-web. Basically it worked very well. But there were two parameter which wouldn't converted correctly:
e.g.
If there was in the filter service_state_type=Soft, that would be converted to service.state.state_type=(soft|hard). But that throws following error:
With a string comparision - only "sof"t or " hard" - the dashboard works
If somebody has the param "modifyFilter" in his filter, the dasboard doesn't work. So it looks like that the migration don't handle this (e.g. delete the param)
Your Environment
Include as many relevant details about the environment you experienced the problem in.
Icinga DB Web version (System - About): 1.1.1
Icinga Web 2 version (System - About): 2.12.1
Web browser: Firefox, Edge
Icinga 2 version (icinga2 --version): 2.14.1
Icinga DB version (icingadb --version): 1.1.1
PHP version used (php --version): 8.0.3
Server operating system and version: rhel 9
The text was updated successfully, but these errors were encountered:
(soft|hard) is array syntax and completely valid. The class ipl\Web\SearchBar\Terms doesn't seem to handle this correctly. There may be more cases of invalid handling, (by the search bar) so further errors should be expected. Though, javascript might not fully support this syntax yet. To fix this, having it rendered should suffice for the moment.
The class UrlMigrator of Icinga DB Web is responsible for parameter handling. It needs to drop modifyFilter as suggested.
We tested the new migration tool for dashboard from the monitoring modul to icingadb-web - wich cames with the latest version of icingaweb/icingadb-web. Basically it worked very well. But there were two parameter which wouldn't converted correctly:
e.g.
If there was in the filter
service_state_type=Soft
, that would be converted toservice.state.state_type=(soft|hard)
. But that throws following error:With a string comparision - only "sof"t or " hard" - the dashboard works
If somebody has the param "modifyFilter" in his filter, the dasboard doesn't work. So it looks like that the migration don't handle this (e.g. delete the param)
Your Environment
Include as many relevant details about the environment you experienced the problem in.
icinga2 --version
): 2.14.1icingadb --version
): 1.1.1php --version
): 8.0.3The text was updated successfully, but these errors were encountered: