Project

General

Profile

Actions

Bug #28836

closed

t3lib_Registry: get after inital set does not work

Added by Dietrich Heise over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-08-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

$registry = t3lib_div::makeInstance('t3lib_Registry');

$registry->set('tx_test', $key, TRUE);
$value = $registry->get('tx_test', $key2, TRUE);

$value is allways null

$this->loadEntriesByNamespace($namespace); will only be called by the get function.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #25013: Registry does not return existing entriesClosed2011-02-12

Actions
Actions #1

Updated by Dietrich Heise over 12 years ago

Dietrich Heise wrote:

ups, there is a typo: $registry->get('tx_test', $key2);

$registry = t3lib_div::makeInstance('t3lib_Registry');

$registry->set('tx_test', $key, TRUE);
$value = $registry->get('tx_test', $key2, TRUE);

$value = $registry->get('tx_test', $key2);

$value is allways null

$this->loadEntriesByNamespace($namespace); will only be called by the get function.

Actions #2

Updated by Helmut Hummel over 12 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF