Next

1. New uploaded files will be entered into to uploaded_unusedfiles table, thereby new files will be delted after 2 hours. This isn't a desired behavior.
The function trackUploadedFiles was the reason for the entry of the files in the table. Only a re-saving of the item has the files deted from the table.
To change this behaviorm the trackUploadedFiles must be called at a different place in the code. Exatcly inside of the if-instruction.
When add the item it must be called after saving. When edit the item ist must be called befor saving.

2.
Mark all in Grid-Overviews did not work. The "mark all"
function needs the alwaysEditing flag to be set on the
 checkboxes. Otherwise the Function setting the state cannot
 change the state of the checkbox. So "mark all" was not
 working at all. Setting "alwaysEditing" on the
 gridComboBoxes does the trick