Hi

Symfony newbie here.  In my schema.yml  I have three tables
representing a many-to-many relationship - Issue, Resource, and
IssueResource.

On the  IssueResource table, I have the following defined:

     relations:
        Issue:   { onDelete: CASCADE, foreignAlias: IssueResources }
        Resource:  { onDelete: CASCADE, foreignAlias: IssueResources }

On the Resource table, I have the following defined:

    relations:
       Issues:    { foreignAlias:  Resources,  class: Issue, refClass:
IssueResource }

I have no relations defined on the Issue table:


My frontend app works like a champ.  But when I generate a backend
module for Resource, it adds a field 'Issues List'.    I just want to
have the form display the fields for Resource.    And if I try to add
Issues to a Resource, I get an integrity constraint violation.  Have I
done something wrong in my schema.yml that's causing this behavior to
appear in the backend app?

Thanks,

Stan


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