Updating FormatterListener

I had a bug width FormatterBundle and BlockBundle,
When I saved datas,they was saved in database and seems OK in front, but when I edit them, they was always replaced by
**"Insert your custom content here".**

I found that in FormatterListener

        $event->getForm()->getData(); 

not seems to grab the good values from POST datas. I replaced by 

        $event->getData();

and now it works