Roave / RoaveDeveloperTools

A PHP application visualization/debugging tool for ZendFramework/Symfony
MIT License
29 stars 8 forks source link

Enabling RDT causes exception with sessions / CSRF form elements #33

Open EvanDotPro opened 10 years ago

EvanDotPro commented 10 years ago

To reproduce:

  1. Install/enable RDT.
  2. Try rendering a form with a CSRF element.

Result:

Ocramius commented 10 years ago

Wondering if this is similar to zendframework/ZendDeveloperTools#148

EvanDotPro commented 10 years ago

Haha, well, a student pointed zendframework/ZendDeveloperTools#148 during class today, so I decided to take that opportunity to show them RDT (hoping it wouldn't have the same problem)... RDT didn't break annotation forms like ZDT did, but it did cause this session failure.

It's just been one of those days...

Ocramius commented 10 years ago

@EvanDotPro well, I'm the cause of zendframework/ZendDeveloperTools#148 as well :-) I know why it happens, but the only solution would be proxying the EventManager right now, which is too aggressive (maybe?)

EvanDotPro commented 10 years ago

Hmm, yeah proxying the EventManager does seem a bit heavy-handed / aggressive...