Jump to:
| Project: | Longer Node Titles |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
Summary:
The lenght of "title" form field (only field, not column in db) in faq content type (provided by faq module) not limited to 255 or 128 characters.
This is done by additional table with "displayed" titles. Maxlenght of original "title" columns in node and node_revisions tables are not altered.
When both modules are installed, "longer node titles" wins and set $form['title']['#maxlenght'] to 255
Actually "title" field in faq content type limited only by "text" db type.
Reproducible: Always
Steps to reproduce:
- Install "faq" module
- Install "Longer Node Titles" module
- Create question (faq content type) with lenght more than 255 symbols
Expected Results:
"Longer Node Titles" did not touch #maxlenght in "title" if it is faq content type.
Actual Results:
Error "Question cannot be longer than 255 characters but is currently XXX characters long." appeared and node not saved.
Path attached.
It disables setting of #maxlenght in faq edit forms.
Sorry for my bad English ;)
| Attachment | Size |
|---|---|
| longer_titles-nofaq.patch | 432 bytes |
Comments
#1
I believe Stella fixed this.