largersmallernormaltext version of this page

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007100 [phplist] User Management minor always 26-07-06 12:29 15-04-08 15:03
Reporter 8VrHMueT View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 2.10.2
Summary 0007100: Textarea has fixed size limit in Add User form
Description When there is a user attribute of textarea, input into this field from the "Add a user" form is limited to a fixed text size. Additional text is truncated.

The textarea works as expected in the manage user form.

Additional Information To reproduce, follow these steps (assuming user attribute of text area already setup)

1. Login as admin
2. Click on "list" to show all lists
3. Select a list
4. Add new users email into the "Add a user:" textbox and click "Add" button
5. In the textarea field, enter more than 500 characters
6. Click "Add User" button.

Check the details and you will see the truncation has taken place.
Tags No tags attached.
Attached Files

- Relationships
related to 0002705closed PHPList v2.11 release 

-  Notes
(0018036)
MarkIngles (reporter)
05-09-06 18:19

On my installation, it gets truncated to the size of the "value" field in
$GLOBALS['tables']['user_attribute']

mysql> describe phplist_user_user_attribute;
+-------------+--------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------------+--------------+------+-----+---------+-------+
| attributeid | int(11) | | PRI | 0 | |
| userid | int(11) | | PRI | 0 | |
| value | varchar(255) | YES | | NULL | |
+-------------+--------------+------+-----+---------+-------+
3 rows in set (0.00 sec)

I'm still new to phplist, but possible solutions are to change value from varchar to text for 64K characters of storage or limiting the size of the text area to the size of the system's varchar.
(0029457)
bas (developer)
17-07-07 19:30
edited on: 18-07-07 12:51

Remark added to the support FAQ*. will be looked at again in 2.11.

*http://www.phplist.com/faqs#textarea [^]



Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker