Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
toolbar.module
Priority:
Major
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
15 Mar 2014 at 09:13 UTC
Updated:
29 Jul 2014 at 23:27 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
dawehnerThe problem is that the langcode does not get passed along to the subtree request. This seems to be one way to solve it. Maybe though we could also somehow encode this directly into the hash.
Comment #2
yesct commentedadding d8mi since it has to do with languages.
adding JavaScript tag since it touches a javascript file, and @nod_ asked all issues that touch js files get that tag. (#2219493: Add search for issues with patches that touch certain file types (javascript, css, ...) or files automates/helps with that)
Comment #3
wim leersAssigning to Jesse Beach for feedback.
Comment #4
gábor hojtsyLooks good on a code review.
The only thing I noticed on code review is a missing empty line between @param and @return.
Comment #5
jessebeach commentedifrik and I added a new test and extend the
testSubtreesJsonRequestto include langcode. We've included a fail version with just the extended testing and a new patch with the testing.Comment #8
sam152 commented5: toolbar-langcode-2218313-5.patch queued for re-testing.
Comment #9
olli commentedLooks like #2146035: drupalSettings.path.pathPrefix does not contain the language identifier could fix this issue.
Comment #10
jessebeach commentedThank you for the cross link olli!
I consider the code in this issue sufficient to address the original bug report. dawehner's patch in #1 solved the issue and #5 just adds additional test coverage.
I'll leave a note in #2146035: drupalSettings.path.pathPrefix does not contain the language identifier to look specifically at the Toolbar code if that issue goes further.
Comment #12
alexpottCommitted ddc0b0b and pushed to 8.x. Thanks!
Fixed during commit