Problem/Motivation

Since it is possible to use tokens on the Subject text field of a Workflow Notification, the 128 chars limit is insufficient for most use cases.

The main problem here is the usage of tokens, and if used with token_or, there can be very lengthy subjects.

Steps to reproduce

Just check HTML source code on edit-subject field for a Workflow Notification form.

Proposed resolution

Increase this limit to, at least 1024 chars.
I know that RFC5322 specifies no more than 998, but for token's sake, this could be even longer than the RFC.

So, I think we can safely increase the Drupal's default of 128 to 1024 on the form configuration.

Comments

jrochate created an issue. See original summary.

jrochate’s picture

StatusFileSize
new520 bytes
jrochate’s picture

StatusFileSize
new510 bytes
jrochate’s picture

StatusFileSize
new510 bytes
johnv’s picture

Should only #4 be applied, not #2?

jrochate’s picture

StatusFileSize
new510 bytes
jrochate’s picture

StatusFileSize
new510 bytes

Sorry, this #7 patch is against the 3.0.x, it should match fine.

jrochate’s picture

Status: Active » Needs review

  • johnv committed 2a85bb36 on 3.0.x
    Issue #3544291 by jrochate: Increase maxlength of Subject text field
    
johnv’s picture

Version: 3.0.x-dev » 3.0.2
Status: Needs review » Fixed

Thanks. committed.

Status: Fixed » Closed (fixed)

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