-
Notifications
You must be signed in to change notification settings - Fork 240
blank page after massive change on notification settings #10014
Comments
We've got same Problem on Centreon 21.04.6 and 21.04.7 |
@itsul can you compare the schema of centreon.host with this one:
Specially this part:
|
@lpinsivy Sure, but it seems to be the same:
I can also say, that the SQL-Query is invalid, the Schema seems to be correct. It seems, that the first char of the fieldname is cut "ontact_additive_inheritance" / "g_additive_inheritance" |
Yes confirm ... i fixed it in the mean time (just a quick fix) for me changing the ltrim function with a substring in the sanitizeFormHostParameters of the ltrim just cuts of the "mc_c" and not only the "mc_". https://stackoverflow.com/questions/23089101/php-rtrim-and-ltrim-are-trimming-more-than-supposed-to case 'mc_cg_additive_inheritance': hope that helps |
BUG REPORT INFORMATION
Versions
all versions greater than 20.10.x. Tested also on 21.04.x
Operating System
CentOS
Browser used
Version: 91.0.4472.124
Description
Massive change of two or more hosts with changes to the notification settings including the "Contact group additive inheritance" field leads to a blank page.
Steps to Reproduce
Please describe precisely the steps to reproduce the encountered issue.
changes:
Logs
PHP error logs
Additional relevant information (e.g. frequency, ...)
The text was updated successfully, but these errors were encountered: