Hi,

I'm implementing concrete inheritance in my model. So I'm trying to do
(i'm taking example upon jobeet) :

When a user try to post his CV, he'll be redirected on a page on which
he will be choosing his main skill (Developper / Network). Both of dev/
network inherits from future_employees, cause it has common
informations in it.

If he he chooses developper, the form displayed contained additionnal
information + common information thanks to the concrete inheritance =>
it works great [ http://pastie.org/private/giykemr6ptxi8pak3pzbg ]

But as soon as the create action is called, it looses the parameter
'category' and redirects me to a futureEmployeeForm form full of error
(missing required parameters), which is logic, because i did not fill
a futureEmployeeForm but a developperForm. [ 
http://pastie.org/private/voy4ljhjv7gdoko8qk5jpa
]

What's going on ? How to preserve the parameter so that error can be
fixed ? Or maybe i'm not using a good method to resolve this
inheritance case ?

Thanks

-- 
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 [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

Reply via email to