- πΊπΈUnited States smustgrave
@acbramley wonder if those other issues addressed this?
- π¦πΊAustralia acbramley
Unfortunately not, I can still reproduce this on HEAD.
- π¦πΊAustralia seth h
This issue has an inverse effect as well, namely that when a new file is uploaded to an unpublished revision on a previously published entity, that file is permanently access denied.
Example: A draft update to some node has updated the file, and the reviewing user wants to check the file contents before marking the revision as published.
This is caused by the fact that the published revision is loaded when loading file references in `file_get_file_references()`.
There is even a comment documenting this.
// Iterate over the field items to find the referenced file and field // name. This will fail if the usage checked is in a non-current // revision because field items are from the current // revision. // We also iterate over all translations because a file can be linked // to a language other than the default.