Skip to content

Issue #186 : allows "array" db type to be used with a collection form type #284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

pierrerolland
Copy link
Contributor

Collection types currently have to have a Doctrine mapping association. That makes simple array type unable to be used as a collection type.

In this "fix", we check, when there is a collection type, if the column has a mapping association before getting it, to avoid the "No mapping found" error reported here : #186

@sescandell sescandell merged commit fab4312 into symfony2admingenerator:master May 23, 2016
@sescandell
Copy link
Member

sescandell commented May 23, 2016

Thanks @pierrerolland

Could you please duplicate for Propel guesser?

@pierrerolland
Copy link
Contributor Author

You're welcome, @sescandell :)

Hasn't it been corrected for Propel guesser by this commit ? 0d6c9a8

@sescandell
Copy link
Member

You're right!

Thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants