Zend Framework

Indirect modification of Zend_Session_Namespace::$namespace has no effect

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Not an Issue
  • Affects Version/s: 0.9.3
  • Fix Version/s: None
  • Component/s: Zend_Controller
  • Labels:
    None

Description

When I use the following code:

$messenger = $this->getHelper('FlashMessenger');
$messenger->setNamespace('login');
$messenger->addMessage($message);

I get the following notice:

Notice: Indirect modification of overloaded property Zend_Session_Namespace::$login has no effect

As a result, the message never gets added to the array. The attached patch fixes this.

This problems occurred in PHP 5.2.0.

Issue Links

Activity

Hide
Bill Karwin added a comment -

Assigning to Matthew.

Show
Bill Karwin added a comment - Assigning to Matthew.
Hide
Double Compile added a comment -

I can also confirm this NOTICE under PHP 5.2.0.

Show
Double Compile added a comment - I can also confirm this NOTICE under PHP 5.2.0.
Hide
Matthew Weier O'Phinney added a comment -

Assigning to Ralph

Show
Matthew Weier O'Phinney added a comment - Assigning to Ralph
Hide
Jonathan Adami added a comment -

Exactly the same problem here, with exactly the same php version ... I found exactly the same patch

I use ZF-1.0RC1

Show
Jonathan Adami added a comment - Exactly the same problem here, with exactly the same php version ... I found exactly the same patch I use ZF-1.0RC1
Hide
Ralph Schindler added a comment -

Testing now.

Show
Ralph Schindler added a comment - Testing now.
Hide
Ralph Schindler added a comment -

I think this issue is one in the same.. I am trying to find a good test case to apply across different php versions, please see linked bug.

Show
Ralph Schindler added a comment - I think this issue is one in the same.. I am trying to find a good test case to apply across different php versions, please see linked bug.
Hide
Ralph Schindler added a comment -

Marking as not an issue, see notes in linked issue..
-ralph

Show
Ralph Schindler added a comment - Marking as not an issue, see notes in linked issue.. -ralph

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: