[DDC-2837] Entity with field $key passes orm:validate but db create will fail Created: 03/Mar/13  Updated: 03/Dec/13  Resolved: 03/Dec/13

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: None
Affects Version/s: None
Fix Version/s: None
Security Level: All

Type: Improvement Priority: Trivial
Reporter: exoon Assignee: Marco Pivetta
Resolution: Won't Fix Votes: 0
Labels: None

apache2 php mysql


There should be a warning if you name a field $key.

Comment by Marco Pivetta [ 03/Dec/13 ]

Handling escaping is not up to the ORM. Use a custom quote strategy for that, as described in the documentation.

Generated at Tue Oct 13 12:43:42 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.