PropelException: Unable to execute UPDATE statement ... [wrapped: Cannot fetch ColumnMap for undefined column: ...]
I have an odd problem with propel in symfony. I've found a few similar questions here but none of the answers was helpful unfortunately.
So, I've added a new attribute into a db table, changed the schema and regenerated the model classes, and now when I try to save the form it shows an error message: "PropelException: Unable to execute UPDATE statement ... [wrapped: Cannot fetch ColumnMap for un开发者_如何学Godefined column: ...]"
The new field is for sure in the schema.yml file, it actually has been generated using "symfony propel:build-schema" and there should be no problem. I also checked the code of the Base model files and the Table files and the new field is there too. It goes without saying that I did clear the cache. I also tried using different names for that field with no luck.
What can be causing it? What is ColumnMap and where can I see it?
精彩评论