When you change the source file on a Media (as a re-ingest does), the system will replace the Media's name with the filename. I was able to see this in the system even w/o a re-ingest. All you had to do was edit a Media - remove the file and add a new one. Then when you saved the Media, its name would be replaced with the filename. Turns out there is a configuration switch for that, so I just turned it off for Name. Now when you re-ingest a media, the name of the media should stay the same, though other fields will get updated appropriately with the file's information (height/width/filesize/whatnot).
To test this - simply do a Media ingest. Then run the same one again and verify that the Media's name did not change.
When you change the source file on a Media (as a re-ingest does), the system will replace the Media's name with the filename. I was able to see this in the system even w/o a re-ingest. All you had to do was edit a Media - remove the file and add a new one. Then when you saved the Media, its name would be replaced with the filename. Turns out there is a configuration switch for that, so I just turned it off for Name. Now when you re-ingest a media, the name of the media should stay the same, though other fields will get updated appropriately with the file's information (height/width/filesize/whatnot).
To test this - simply do a Media ingest. Then run the same one again and verify that the Media's name did not change.
This resolves https://github.com/jhu-idc/idc-isle-dc/issues/271