Loading...
 
Skip to main content

tiki_preferences.name should be longer than 40 characters

Status
Open
Subject
tiki_preferences.name should be longer than 40 characters
Version
5.x
Category
  • Usability
  • Feature request
  • Less than 30-minutes fix
Feature
Database MySQL (MyISAM)
Resolution status
New
Submitted by
MHohenberg
Lastmod by
MHohenberg
Rating
(0)
Description

The field "name" in the tiki_preferences is currently limited to 40 characters.

This may be appropriate for English speakers, as soon as you start developing german-language Wiki Plugins, it becomes awfully little. For Example:

You are trying to write a plugin named

__ inventarisierung_details (this string has 24 characters).

As soon as you try to configure this, it becomes

__ wikiplugininline_inventarisierung_details (this one has 41 characters)

and fails horribly.

Solution

As MySQL does not actually block a given size for a VARCHAR field (see MySQL Documentation, Section 11.4.1), they can be longer without sacrificing disk or memory space.

Thus: Please update the database schema to accept tiki_preferences.name to up to 255 characters.

Importance
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3515
Created
Wednesday 11 August, 2010 08:55:28 UTC
by MHohenberg
LastModif
Wednesday 11 August, 2010 08:55:28 UTC


Show PHP error messages