Closed (fixed)
Project:
Drupal core
Version:
8.2.x-dev
Component:
language.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Aug 2016 at 13:55 UTC
Updated:
25 Oct 2016 at 11:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
chi commentedComment #3
poornima.n commentedCan you please upload the screen shot
Comment #4
chi commented@poornima.n what screenshot?
Comment #5
bhide.nishad commentedComment #6
bhide.nishad commented@Chi ! you were correct, [site:url] token already ends with a trailing slash.
Corrected the URLs, please find the attached patch.
Thanks,
Nishad
Comment #8
chi commentedLooks good for me. Thanks.
Comment #9
alexpottAt first I wondered if the behaviour of the site:url token had changed in Drupal 8 compared to 7. It has not:
So the change looks correct..
The original version reads nicer - but the new version is definitely correct. However there are more tours to fix - we should fix all the tours in core. Given this is a configuration change we also should consider an upgrade path. However, given that the links work and just cause a 302 I think we shouldn't bother with that.
Comment #10
chishah92 commentedComment #11
chishah92 commentedHave corrected in all tours in the core with this new patch.
Thanks
~Chirag
Comment #12
bhide.nishad commentedAs per the previous finding there were only issue in language and local module.
So this issue was considered for language module.
For local module, another issue https://www.drupal.org/node/2797663 was logged.
Thanks,
Nishad
Comment #13
tresti88Hi,
Tested this patch in 8.2 dev see attached screen shot before the patch was applied and after. All is good.
Comment #14
tresti88Comment #15
alexpott"[site:url]/" not found in the code anymore. Looks good - updating issue credits.
Comment #16
alexpottCommitted 554852c and pushed to 8.3.x. Thanks!
Leaving to be cherry-picked into 8.2.x once 8.2.0 is released.
Comment #18
liampower commentedPatch #11 works and still applies cleanly for 8.2.
I had been looking at this as part of the Mentored sprints at DC Dublin 2016
Comment #19
adamb commentedBeen looking at this as part of the Mentored Sprints at DrupalCon Dublin 2016.
Agree Patch #11 applies cleanly for 8.2.
Comment #20
alexpottCommitted 52ecc26 and pushed to 8.2.x. Thanks!