Bug #40108

PHP warning when no language pack is available

Added by Xavier Perseguers about 7 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Category:
Extension Manager
Target version:
Start date:
2012-08-24
Due date:
% Done:

100%

TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

If an extension has been registered for translation but no language pack is available, tx_em_Connection_Ter->fetchTranslationStatus() returns a string instead of FALSE whereas either an array or FALSE is expected as return value.


Related issues

Duplicated by TYPO3 Core - Bug #39637: Fatal error: Cannot use string offset as an array in /home/user/public_html/ordner/typo3/sysext/em/classes/connection/class.tx_em_connection_extdirectserver.php on line 1300 Closed 2012-08-09
Duplicated by TYPO3 Core - Bug #40164: Language Pack Update Bug (TYPO3 4.7.4) Closed 2012-08-25
Duplicated by TYPO3 Core - Bug #39549: "translation handling" fails with Ext. version Closed 2012-08-03

Associated revisions

Revision 5219a865 (diff)
Added by Xavier Perseguers about 7 years ago

[BUGFIX] PHP warning when no language pack is available

Make sure to return either an array or a boolean and not a
string when retrieving the status of an translation pack.

Change-Id: Ic837026f387e370cf28a5c65866954898dc8a37c
Fixes: #40108
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/14024
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers

Revision d5828b38 (diff)
Added by Xavier Perseguers about 7 years ago

[BUGFIX] PHP warning when no language pack is available

Make sure to return either an array or a boolean and not a
string when retrieving the status of an translation pack.

Change-Id: Ic837026f387e370cf28a5c65866954898dc8a37c
Fixes: #40108
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/14025
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers

Revision 61ca502d (diff)
Added by Xavier Perseguers about 7 years ago

[BUGFIX] PHP warning when no language pack is available

Make sure to return either an array or a boolean and not a
string when retrieving the status of an translation pack.

Change-Id: Ic837026f387e370cf28a5c65866954898dc8a37c
Fixes: #40108
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/14026
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers

History

#1 Updated by Gerrit Code Review about 7 years ago

  • Status changed from New to Under Review

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/14024

#2 Updated by Gerrit Code Review about 7 years ago

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/14025

#3 Updated by Gerrit Code Review about 7 years ago

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/14026

#4 Updated by Xavier Perseguers about 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#5 Updated by Steffen Gebert about 7 years ago

  • Category set to Extension Manager
  • Target version set to 4.5.20

#6 Updated by Riccardo De Contardi about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF