Problem/Motivation

The admin form limits all 255 character fields to just 128.

Steps to reproduce

Visit the admin form, and attempt to fill out a field with more than 128 characters: The text editor prevents more than 128 characters, truncating longer content. Ex. idp_logout_url "IDP Logout URL"

Proposed resolution

In the code there is already an author intended `#max_length` of 255. This is a bug and should be (https://api.drupal.org/api/drupal/developer%21topics%21forms_api_referen...) `#maxlength`. The schema is also set to 255 and is ready to receive longer values.

Remaining tasks

Change occurrences of `#max_length` (sic) to `#maxlength` throughout the admin form.

User interface changes

(none)

API changes

(none)

Data model changes

(none)

Comments

texas-bronius created an issue. See original summary.

texas-bronius’s picture

Version: 7.x-3.0 » 7.x-2.0-beta4
Status: Active » Needs review
StatusFileSize
new1.16 KB

Looking at 3.x, I see that the issue still persists, but it's a mix: Some fields have max_length (incorrect) some maxlength (correct).

Here's a patch for 7.x-2.0-beta4

texas-bronius’s picture

Version: 7.x-2.0-beta4 » 7.x-3.0
StatusFileSize
new1.6 KB

One more patch for the same, this time chasing 7.x-3.x-dev (though it's marked as just "7.x-3.0" in the Version selector on this issue queue)

jrglasgow’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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