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).

Comments

jweowu created an issue. See original summary.

jweowu’s picture

Status: Active » Needs review
StatusFileSize
new4.03 KB
jweowu’s picture

StatusFileSize
new4.58 KB
new721 bytes
jweowu’s picture

Issue summary: View changes
rosk0’s picture

Status: Needs review » Reviewed & tested by the community

Works for me, thanks!

  • miteshmap committed ae45430 on 7.x-4.x authored by jweowu
    Issue #2687447 by jweowu, RoSk0: Generated machine names can exceed...
miteshmap’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.