Hi

If been trying to use doctrine's inheritance feature . I add my own
primary key in the child table (in this case "my_id") but if I try and
use a filter in the backend I get the following error :
SQLSTATE[HY093]: Invalid parameter number: parameter was not defined

my schema.yml file:

SysRoot:
  columns:
   reason:
     type: string(255)

Article:
  inheritance:
    type:             concrete
    extends:       SysRoot
  columns:
    my_id:
      type: integer(8)
      primary: true
      autoincrement: true
    author_id: integer
    title:
      type: string(255)
      notnull: true


I think the formfiltergenerator is not using the correct primary key
since the parent table has a auto generated pk (id) . Am I doing
something wrong or is there perhaps a workaround?

Thanx
Best Regards
lxtechie

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to