1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 21:22:40 +00:00
Arsse/lib/Db
J. King e74a3ae3cb Fix numerous bugs when adding or changing folders
- Specifying a non-integer parent no longer silently casts to 0 or 1
- Specifying a folder ID of 0 now always converts to null automatically
- Performing both a rename and move to root in the same operation no longer results in potential duplicates
- Calling folderSetProperties with an empty data array no peforms an update; it now returns false before the update call
- Modification timestamps are now actually updated when a folder is modified
- Constraint violation exceptions triggered by code (rather than the database) now print a message
- Renaming a folder or subscription to a non-string value (e.g. an array) throws an exception rather than silently casting
- Added tests to better cover all the above
- Centralized the normalization of integers and title strings into a new ValueInfo static class
2017-09-26 16:45:41 -04:00
..
SQLite3 Fix numerous bugs when adding or changing folders 2017-09-26 16:45:41 -04:00
AbstractDriver.php Sundry fixes 2017-09-05 19:35:14 -04:00
AbstractStatement.php Passed code through linter 2017-08-29 10:50:31 -04:00
Driver.php Passed code through linter 2017-08-29 10:50:31 -04:00
Exception.php Passed code through linter 2017-08-29 10:50:31 -04:00
ExceptionInput.php Passed code through linter 2017-08-29 10:50:31 -04:00
ExceptionSavepoint.php Passed code through linter 2017-08-29 10:50:31 -04:00
ExceptionTimeout.php Passed code through linter 2017-08-29 10:50:31 -04:00
Result.php Passed code through linter 2017-08-29 10:50:31 -04:00
Statement.php Passed code through linter 2017-08-29 10:50:31 -04:00
Transaction.php Passed code through linter 2017-08-29 10:50:31 -04:00