Bad file versioning for event replacement
When replacing an event, there a few problems with file versioning:
- The file version is not passed from the API view (
events.translator.handle_uploaded_data(see here). This isn't a problem only if the new event file has a different filename.
handle_uploaded_dataassumes a file version of 0 for both the new event file and the generated files (
coinc.xml), which is just plain wrong - version 0 of these files was already generated when the event was initially created.