By default, every new file revision has an entry in Commons' upload log. FileImporter files should behave the same way.
- Create upload log entries for (old) imported file revisions with the date and user of the original upload.
- Create an upload log entry for the import. This log entry should be associated to the already created null revision
Examples of current situation
Right now, we create an upload log for the latest uploaded file revision, but not for the import, and not for anything older.
- First research showed that this is an issue of file import handler vs old file handler, deep down in core. Usually the old file handler expects all old upload logs to exist already, but in this case they don't. Hopefully this can be fixed in our extension.
- This should include tests again