webform_features_install() generates machine names based on node titles and form keys, without applying the self-imposed limits in accordance with the varchar storage. Note that node titles are varchar(255).
I couldn't see any particular reason to limit the machine names to such small values, so I propose that the fix allows the component names to have a limit as near to 255 chars as the calculation allows (if we allow the same maximum for each, plus the 2 char '__' separator, we can have up to 126 + 126 + 2 = 254).
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | interdiff-2687447-2-3.txt | 721 bytes | jweowu |
| #3 | webform_features-machine_name_lengths-2687447-3.patch | 4.58 KB | jweowu |
Comments
Comment #2
jweowu commentedComment #3
jweowu commentedComment #4
jweowu commentedComment #5
rosk0Works for me, thanks!
Comment #7
miteshmap