Skip to content

Doctrine\ODM\PHPCR\Id\IdException thrown during upload #127

@cbastienbaron

Description

@cbastienbaron

Hi guys,

After a fresh install to CmfMediaBundle, i'm trying to upload a media with a dirty name 'Capture du 2015-01-07 18:46:59.png' and i get in return a beautiful 500 :)

class: "Doctrine\ODM\PHPCR\Id\IdException"
message: "NodeName property "nodename" of document "Symfony\Cmf\Bundle\MediaBundle\Doctrine\Phpcr\Image" contains the illegal PHPCR value "Capture du 2015-03-25 18:01:53.png"."

AFAIK, there is no a "slugable" behaviour for this pbl ? i'm afraid, finals users, doesn't care about file's name :s Or maybe i'm missing a part of config for this ?

Thks in advance for reponse ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions