hi there,

today I've be wrestling around with the database induced cap of 128 characters for (in my case a regex regarding phone numbers) validations.

though I didn't spend much time on this case, my guess is that it's because of line number 68 & 69 in field_validation.install. I would suggest to change that to either something bigger (bad idea) or to change the type to text (big) and thereby remove the trouble of ever* having to think about that another time.

greets,

attisan

*well, ... mostly

Comments

attisan’s picture

Title: remove the 128 character limit for rules » remove the 128 character limit for validation rules
cwithout’s picture

Status: Active » Needs review
StatusFileSize
new1.11 KB

The limit is due to using a textfield. Patch changes the field to a textarea.

g089h515r806’s picture

Status: Needs review » Reviewed & tested by the community
g089h515r806’s picture

fixed.

g089h515r806’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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