.. include:: /Includes.rst.txt .. _bugfix-1791461641: ================================================================= Bugfix: Refuse every time that is no whole number or out of range ================================================================= Description =========== The API refuses every time in a request that is no integer or lies outside its range with 422 and a violation on the property: grace and tolerance times, daily limits, breaks and rest times up to a day, account and carry-over limits, bookings, settlements and leave quantities up to 1000 hours, annual targets up to 5000 hours, a project budget up to 100000 hours, windows and reminders in days up to a year. Before, many of them had no upper bound, a timesheet duration of the wrong kind was answered with 400, and a directory timeout written as text with 500. The contract states every range, and a test fails for a time without one. Impact ====== A client that sent such values gets 422 instead of a stored value, a 400 or a 500. .. index:: API, package:adsum-core, package:adsum-attendance, package:adsum-leave, package:adsum-projects, package:adsum-working-time, package:adsum-ldap