Hi,
I have installed Blameable Extension in the folder
/lib/doctrine_extensions/Blameable/
from the root of my symfony 1.3 project.
in the
/config/doctrine/schema.yml
I have added the following code
TableName:
tableName: table_name
actAs:
Timestampable:
....
Sluggable:
...
Blameable:
columns:
created:
name: creato_da
type: integer
length: 4
updated:
name: aggiornato_da
type: int
length: 4
relations:
created:
name: CreatoDa
class: SfGuardUser
disabled: false
updated:
name: AggiornatoDa
class: SfGuardUser
disabled: false
columns:
...
After I have execute a
./symfony doctrine:build-all-reload
and clear the cache
The fields creato_da and aggiornato_da were created with their
relations.
But when I try to create a new record with the interface of admin
generator, getting an error:
The item has not been saved due to some errors
$form['creato_da'] (sfWidgetFormDoctrineChoice) Required.
$form['aggiornato_da'] (sfWidgetFormDoctrineChoice) Required.
This means that the Blameable Extension has not added those fields
with related values.
What could be the problem? I forgot some configuration to work
correctly with symfony?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---