Bug #32162
Missing title and description (shows "Array - Array" instead) in "Blog Widget" (Plugin in Backend)
| Status: | Resolved | Start date: | 2011-11-29 | |
|---|---|---|---|---|
| Priority: | Could have | Due date: | ||
| Assignee: | Dmitry Dulepov | % Done: | 0% |
|
| Category: | Bug | |||
| Target version: | 1.2.1 | |||
| Votes: | 1 (View) |
Description
Hello t3blog team
I'm using the extension the first time for an internal evaluation. Anyway, I have the strange problem that the list of widget show "Array" instead of the widget title or description. I digged into the code and found a (helpful?) solution.
The problem seems, that the array has two more dimensions than expected, therefore I had to edit the code to get the values. I assume that probably the handling of t3lib_div::readLLfile() may changed in the meantime?
Please have a look at the attached screenshots and patchfile for further explanations. Ask me anytime if you need further information like about the server environment, for example.
with kind regards,
Andre
Related issues
| duplicates T3BLOG - Bug #31704: Backend Plugin translation broken in TYPO3 4.6.0 | Resolved | 2011-11-09 |
History
Updated by Felix Nagel over 1 year ago
Are you using TYPO3 4.6.x?
Did you test your patch in TYPO3 4.5.x?
Updated by Felix Nagel over 1 year ago
- Status changed from New to Accepted
Problem confirmed in TYPO3 4.6.1. See related issues.
Updated by Andrey Aksenov over 1 year ago
It works for TYPO3 4.6.x, but not for TYPO3 4.5.x (PHP 5.2)
Updated by Alexander Bigga about 1 year ago
- Status changed from Resolved to Accepted
I reopen this bug because Dimitry didn't fixed the issue with Revision 61169 because he introduced a non working version comparison.
The constant "TYPO3_branch" has two digits. E.g. '4.6'.
The comparison
if (version_compare(TYPO3_branch, '4.6.0', '<'))
is TRUE for TYPO3_branch '4.6' because PHP version_compare() has a strange behaviour:
1 < 1.0 < 1.0.0
Solution: Please change the comparison to:
if (version_compare(TYPO3_branch, '4.6', '<'))
If you don't believe me: try on the command line ;-)
php -r "if (version_compare('4.6', '4.6.0', '<')) echo('4.6 is lower than 4.6.0');"
Updated by Dmitry Dulepov 12 months ago
See revision 62622.
Updated by Dmitry Dulepov 8 months ago
Is this reproducible for anybody?
Updated by Alexander Bigga 8 months ago
I think, you solved it in revision 62622? I don't have this problem anymore.
Updated by Dmitry Dulepov 14 days ago
- Status changed from Accepted to Resolved
- Assignee set to Dmitry Dulepov
- Target version changed from 1.1.2 to 1.2.1
Should be definitely gone after r75193