I'm getting some strange issues when trying to replace a PDF. The PDF I'm uploading has a slightly different filename from the PDF it is replacing and I want to use the new filename because it reflects the date it was updated, so I selected the "Replace the file, use new file name and update all links" option.
The old file is being deleted (it returns 404 when trying to load it), the new "File URL" works and returns the new file. That much is good.
However there are a few problems:
- It is keeping the old file name in the "File name" field (
- The permalink to the attachment page changes to reflect the new filename, but doesn't work (I assume because because the "file name" value isn't changing.)
- None of the links to the PDF are being updated to reference the new "File URL". They still point to the old "File URL".
Any ideas what might be going on?