mysql - Symfony 1.4 chang an embedded form in AdminGenerator-module / Find Query -
i added 2 fields table, used embedded form in admin-generator-module. created widgets , changed templates. put fields in generator.yml, changed schema.yml , executed doctrine:build --all-classes , cc.
although fields appear , entered data saved mysql-db, data not shown in textfields, new fields not part of mysql-query (which goes every single of old fields).
i did grep on whole application - done same way old fields.
how / mysql-query created or cached , how can (force sf to) change it?
finally figured out, happened... query used cached apc. calling
apc_clear_cache(); apc_clear_cache('user'); apc_clear_cache('opcode');
in preexecute() solved problem. gosh.....
Comments
Post a Comment