.. include:: /Includes.rst.txt .. _bugfix-1791796825: =================================== Bugfix: A rule code fits its column =================================== Description =========== A country package could add a violation with a rule code longer than the 20 characters a stored violation holds. SQLite accepted it, but PostgreSQL and MariaDB refused to store the day, so its recalculation failed. ``WorkingDayEvaluated::addViolation()`` now refuses such a code at once. Impact ====== A country package names its rules with at most 20 characters; a longer code throws ``InvalidDayViolationException`` while its tests run. .. index:: PHP-API, package:adsum-attendance