Bug #36343
Extension title is cut too short
| Status: | Resolved | Start date: | 2012-04-19 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 100% |
|
| Category: | [FOR] TER | |||
| Target version: | - | |||
| Votes: | 3 (View) |
Description
There's no official limit on an extension's name length. Looking at the "ter" extension table structure, the limit seems to be 50 character. However the new list view of the TER cuts the title at 30 characters. Could we please have the full length back, as some extensions' titles now look really silly (like "Standard Controller - Tesserac" instead of "Standard Controller - Tesseract project" for extension "displaycontroller").
History
Updated by Thomas Loeffler about 1 year ago
- Status changed from New to Accepted
- Assignee set to Thomas Loeffler
Updated by Thomas Loeffler about 1 year ago
- File tca_ter_title_too_short.patch added
Need someone who put this patch in extension "ter".
Problem was that the TCA field for the extension title has maximum 30 chars.
I set it now to 70 chars.
Updated by Helmut Hummel about 1 year ago
The database field is varchar(50) and has been like that since the beginning. So I would change the tca also to 50 chars.
Updated by Thomas Loeffler about 1 year ago
- File tca_ter_title_too_short_v2.patch added
Yes, for sure. Here is the updated patch.
Thanks, Helmut.
Updated by Helmut Hummel about 1 year ago
- Assignee changed from Thomas Loeffler to Christian Zenker
I fixed it on the server directly now, but this needs to be committed so that it is not lost after the next deploy
Christian can you take care of that? Thanks.
Updated by Thomas Loeffler about 1 year ago
What about the wrong extension titles which are in the DB now?
We need to change the title in the tables "tx_ter_extensions" and in the version repository.
By script? By hand? Someone a better solution?
Updated by Christian Zenker about 1 year ago
- Status changed from Accepted to On Hold
- Assignee changed from Christian Zenker to Thomas Loeffler
Pushed in r62200.
Updated by Thomas Loeffler 12 months ago
- Status changed from On Hold to Under Review
- Assignee deleted (
Thomas Loeffler) - % Done changed from 0 to 90
It is working on typo3.org.
All updated extension titles are not cut off.
So, what to do with the cut off titles in database?
Updated by Steffen Gebert 12 months ago
Hi,
do you see a way to update them via a script?
Updated by Thomas Loeffler 12 months ago
It's possible, but not if there was a title change on the last upload.
I can look on the older version (if there is one) and update the title of the newest version.
Updated by Thomas Loeffler 12 months ago
- Due date set to 2012-06-09
- Status changed from Under Review to Closed
- % Done changed from 90 to 100
Finished this issue with Steffen by a php script.
Updated by Francois Suter 12 months ago
Thanks for your work!
Updated by Thomas Loeffler 12 months ago
- Status changed from Closed to Resolved
Updated by Thomas Loeffler 11 months ago
- Due date deleted (
2012-06-09) - Status changed from Resolved to Needs Feedback
- % Done changed from 100 to 0
The problem is back again. :(
Is the TCA entry back to 30 chars?
Updated by Steffen Gebert 11 months ago
Yes, it is
'title' => array (
'label' => 'LLL:EXT:ter/locallang_tca.xml:tx_ter_extensions.title',
'config' => array (
'type' => 'input',
'size' => '40',
'max' => '30',
'eval' => 'trim',
),
),Updated by Steffen Gebert 11 months ago
Tolleiv, is the trunk branch of EXT:ter in use?
http://forge.typo3.org/projects/extension-ter/repository/changes/trunk/tca.php
Wondering, where the change comes from.
Updated by Steffen Gebert 11 months ago
Problem was that Christian's change didn't modify the title, but the version. Thomas will push a new version, I have fixed it on the live server already and we will update the DB contents later.
Updated by Thomas Loeffler 11 months ago
- Status changed from Needs Feedback to Under Review
- % Done changed from 0 to 80
Updated by Thomas Loeffler 11 months ago
- Status changed from Under Review to Resolved
- % Done changed from 80 to 100
Now really resolved.