4 Commits

Author SHA1 Message Date
Johannes Meyer
2ca1fc99c9 test: Replace usages of @expectException 2023-08-31 09:48:48 +02:00
Johannes Meyer
629297116b BaseTestCase: Use phpunit's new TestCase 2023-08-30 17:28:06 +02:00
Thomas Gelf
36141c5f98 Import: validated encoding on DB error
MySQL gives useless error messages for invalid UTF8 characters and
confuses users with an 'Invalid datetime format' message.

Once storing imported data fails, the original data will now be scanned
for invalid UTF-8 characters. If such are found, a dedicated exception
with more details is thrown. Otherwise the original exception will be
forwarded

fixes #2143
2020-07-10 17:16:08 +02:00
Markus Frosch
4037e22709 Implement AssignFilterHelper to improve apply/assign matching
* is set / is not set - fixes #1483 fixes #1387
* case-insensitive matching when using wildcards '*'
  like match() in Icinga 2
2019-05-06 14:19:29 +02:00