Bug
Failed upload leads to corrupt topic because of unicode characters in filename
Issue description
When a file was uploaded in the main form through an simple file selection dialog and the filename contained incorrect unicode characters, the topic was still persisted and left the store in an inconsistent state: the file was in the file system, the topic was in the db, but there was no record for the file. This lead to problems with ongoing and the fact sheet of the respective topic. The error message was: Type error since the record must exist but does not.
Developer comments
This could not be reproduced with a PHP unit test, everything works as expected, the strange file name is saved correctly in the database.
|
Work sessions
Start |
2024-04-03T10:38:05
|
End |
2024-04-03T11:31:28
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.