symfony-cmf/cmf-sandbox — Issue #33: Fixtures contradiction with assertion in StaticContent
Author: nacmartin
Created: 2011-12-02 23:42:40+00:00
State: open

This kind of names of the documents with underscores:
https://github.com/symfony-cmf/cmf-sandbox/blob/master/src/Sandbox/MainBundle/Resources/data/fixtures/static/page.yml#L21

Are not complaining with the assertion in the definition of the document:

@Assert\Regex("{^[a-z]+$}")

https://github.com/nacmartin/symfony-cmf/blob/d36be703bad5df145a5b186477accc89935fa32e/src/Symfony/Cmf/Bundle/ContentBundle/Document/StaticContent.php#L27

Which one is wrong?