l3pp4rd/DoctrineExtensions — Issue #195: sluggable not working with symfony 2.0.6
Author: sanctuary
Created: 2011-11-24 04:44:57+00:00
State: open

I have this defined in my entity

/**
27 * @var string $name
28 *
29 * @Assert\NotBlank()
30 * @gedmo:Sluggable(slugField="slug")
31 * @ORM\Column(name="name", type="string", length=100, nullable=true)
32 */
33 private $name;
34
35 /**
36 * @var string $slug
37 *
38 * @gedmo:Slug
39 * @ORM\Column(name="slug", type="string", length=100, nullable=false, unique=true)
40 */
41 private $slug;

I made sure that doctrine extensions version 2.1.x is in vendors/

Basically the save occurs, but the slug field is not updated (nothing in it after the insert).

sluggable: true is defined in config.yml.

Timestable works fine in the same project.

Please confirm