Active
Project:
Drupal core
Version:
main
Component:
content_translation.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jun 2015 at 02:32 UTC
Updated:
2 Jun 2026 at 12:57 UTC
Jump to comment: Most recent
Comments
Comment #1
iamEAP commentedAdding relation to the issue from D7 where this was first resolved.
Comment #2
nagwani commentedWorking on traiging this issue.
Comment #3
nagwani commentedI am able to reproduce this issue based on the steps to reproduce mentioned in the description of the ticket. Tested on 8.1.x branch.
Comment #4
dineshw commentedComment #5
kuntalsarkar2 commentedComment #6
kuntalsarkar2 commentedI am able to replicate this issue based on the steps to reproduce.
Comment #7
xjm(Updating issue credit for the major triage.)
Comment #8
effulgentsia commentedDiscussed this with @catch, @alexpott, @xjm, and @Cottser, and we agreed this is Major. We considered whether it should be Critical, but decided no, because the only information disclosed in the link is the name of the language, and not anything about the unpublished translation, other than its existence, which you can determine anyway by typing the language-prefixed URL into the address bar.
Comment #12
ckaotikI wonder if this also affects other parts of the site, e.g. alternate links in the page
<head>?For the time being, we've been using this hook to hide inaccessible links:
Comment #16
stevendeleus commentedFor #12 you need:
Comment #25
mohit_aghera commentedI came across this issue while doing bug-smash traige.
I was not able to reproduce the issue.
However, I see an issue is still valid.
If "Spanish" translation is not published, it shouldn't display the links.
Possibly ConfigurableLanguageManager::getLanguageSwitchLinks() method should ensure that translation access is allowed.
However, that place is little tricky since we will have to do another entity load for the same
Comment #26
mohit_aghera commented