Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
language system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 Aug 2011 at 10:54 UTC
Updated:
4 Jan 2014 at 01:11 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
gábor hojtsy1. The database does indeed has a maxlength of 12, so having 60 here is just misleading people. It is going to be truncating the string anyway. So this is a very straightforward and clearly good change.
2. Making the field itself 3 chars longer @andypost explained to me in person that is about making sure that the value is visible even if the font is wider. Which might be workaround for possible browser bugs I think.... I'd assume the field is sized for the wider char to be sure it would fit the data, but this is a browser thing...
Comment #2
andypostI think this was a mistake - size and maxlength should be swapped because all fields on this form has default width (60 from formapi)
Comment #3
gábor hojtsyThis looks very straightforward and simple then as per my #1 comment above.
Comment #5
andypostRe-roll for current d8
Comment #6
andypostback to rtbc
Comment #7
gábor hojtsyLooks good to me, should be ok to commit.
Comment #8
catchThanks! Committed/pushed to 8.x. Will need a re-roll for 7.x.
Comment #9
andypostre-roll for D7
UI before patch
After patch
Comment #10
andypostThis is a direct backport but brings a bit of UI change so still needs review...
Comment #11
gábor hojtsyLooks good, matches form setup to schema so longer language codes are not possible to input.
Comment #12
gábor hojtsyTagging with language base.
Comment #13
webchickIt's a little odd to resize the textbox visually at the same time we make its max length different, but this seems like a harmless enough change.
Committed and pushed to 7.x. Thanks!