[FLOW3-general] Object argument becomes null

Scott MacDonald smacdav at gmail.com
Fri Jul 30 13:45:47 CEST 2010


On or about 27 July 2010 1:58 AM, Karsten Dambekalns said:
> Hi.
>
> On Mon, 26 Jul 2010 14:03:05 +0200, Scott MacDonald 
> <smacdav at gmail.com> wrote:
>> Actually, it seems to generate a UUID just fine (from tracing it via 
>> the debugger), but the UUID winds up referring to nothing in the end.
>
> Please open a ticket, this seems to be a bug to me. It should work 
> just fine, as the UUID is generated when the object is created, so it 
> should be used as expected when using forward/redirect.
>
It's been a busy week, but I finally submitted a ticket.
>> To use the PersistenceManager, I injected one into the controller and 
>> placed a call to $this->persistenceManager->persistAll(); right 
>> before the redirect. All I got was a blank screen with the URI 
>> showing that it hadn't moved past the create action, so I ran the 
>> debugger and found that it stopped executing after the call to 
>> persistAll(). (I assume that the blank screen at that point is 
>> because there is no template set to display for that action; please 
>> correct me if I'm wrong.) Did I make the call wrong?
>
> Was there some error message or exception logged somewhere? It should 
> not just stop there...
I just retested it in order to get a fresh log. It ends with the 
following two lines.

10-07-30 13:40:54 DEBUG     FLOW3                --- Launching FLOW3 in 
Development context. ---

10-07-30 13:41:06 DEBUG     FLOW3                Router route(): Route 
"FLOW3 :: default with action and format" matched the path 
"tracklibrary_php/disc/create".

Scott



More information about the FLOW3-general mailing list