- Status changed to Needs work
over 1 year ago 4:37pm 14 February 2023
When trying to access a file that is referenced by a single entity, access is denied if that entity's original translation is unpublished, even if a published translation referencing the same file exists.
Steps to reproduce:
content_translation
Expected result:
File is displayed, because the translation is accessible.
Actual result:
The user receives a 403.
Check all translations of the referencing entity and grant file access if at least one translation is accessible. (Field access should still be checked.)
Write tests to reproduce the issue.
Needs work
9.5
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.