On 25.02.2011 13:41, John Wards wrote:
> I see two solutions here...
> 
> 1) Web profiler reads out all flash messages and and re adds them. (Feels 
> hacky)
> 2) Flash messages are only removed on read.
> 
> First option seems really simple, second option not so simple.
> 
> Opinions? I'm going to hack something together for the first option as
> I need to seem my flash messages and the toolbar data at the moment.
> But my preference is for the second option.

See also:

https://github.com/fabpot/symfony/commit/28bf834c0c7845a3a9fc9605e0e35c99e1475a6b#commitcomment-283201

For the problem you mention, second solution seems best. For my other
problem in my commit comment, I guess we should just suppress the
toolbar entirely if what the AJAX call returns isn't a proper toolbar.

The other quickfix is to just revert for now, and see later.

Cheers

-- 
Jordi Boggiano
@seldaek :: http://seld.be/

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to