Project

General

Profile

Actions

Bug #18730

closed

$TCA['fe_users']['palettes']['1']['showitem'] change in 4.2 causes problem with sr_feuser_register

Added by Kai Lehmann about 16 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-04-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

TCA for fe_users was changed in TYPO3 4.2 in typo3/sysext/cms/tbl_cms.php. As a result, you don't see the fields that were defined by sr_feuser_register in the backend anymore (first_name, last_name, gender).

TYPO3 4.1.5, line 274 - 277:
'palettes' => Array (
'1' => Array('showitem' => 'disable, starttime, endtime'),
'2' => Array('showitem' => 'title,company')
)

TYPO3 4.2, line 281 - 283:
'palettes' => Array (
'1' => Array('showitem' => 'title,company')
)

I don't know if this was intentional or not (might be a typo). However, this causes a bug in sr_feuser_register 2.5.9 in ext_tables.php, line174:
$TCA['fe_users']['palettes']['2']['showitem'] = str_replace('title,', 'gender,first_name,last_name,title,', $TCA['fe_users']['palettes']['2']['showitem']);

This fails as there is no ['palettes']['2'].

(issue imported from #M8300)

Actions #1

Updated by Franz Holzinger over 15 years ago

This has been fixed in the latest version of sr_feuser_register, to support both versions.
Please test also the development version from http://jambage.com/index.php?id=170.

Actions #2

Updated by Christian Kuhn over 14 years ago

Resolved, no core bug, fixed in extension.

Actions #3

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF