Univention Bugzilla – Bug 47162
New exception that is not considered when checking tolerate_errors
Last modified: 2018-09-11 11:34:20 CEST
A new exception is required that can be thrown if an import record is to be intentionally skipped. However, the exception should not be included in the count of tolerate_errors, so that the import can still be terminated after X real errors.
The new exception UcsSchoolImportSkipImportRecord has been introduced that uses the new boolean member variable is_countable. _add_error() now only raises a TooManyErrors exception, if the number of countable exception exceeds the limit. ucs-school-import (16.0.2-24) 908aaecb5fd0 | Bug #47162: add new exception type UcsSchoolImportSkipImportRecord
OK: code I added a ucs-test to test this feature: [4.3] 1b24b91c1 Bug #47162: add test for not is_countable exception ucs-test-ucsschool (5.0.2-72)
UCS@school 4.3 v5 has been released. https://docs.software-univention.de/changelog-ucsschool-4.3v5-de.html If this error occurs again, please clone this bug.