Skip to content
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

PG::AmbiguousColumn: ERREUR: la référence à la colonne « id » est ambigue #1131

Closed
igkyab opened this issue Sep 28, 2016 · 1 comment
Closed

Comments

@igkyab
Copy link
Contributor

igkyab commented Sep 28, 2016

An ActionView::Template::Error occurred in crumbs#index:

PG::AmbiguousColumn: ERREUR: la référence à la colonne « id » est ambigu
LIGNE 1 : ..."id" = "activity_productions"."support_id" WHERE (id IN (SEL...
^
: SELECT DISTINCT "activity_productions".* FROM "activity_productions" INNER JOIN "products" ON "products"."id" = "activity_productions"."support_id" WHERE (id IN (SELECT activity_production_id FROM activity_productions_campaigns WHERE campaign_id = 5)) AND (products.id IN (NULL))
app/views/backend/crumbs/index.html.haml:31:in `_app_views_backend_crumbs_index_html_haml___4478729526783663748_70240951854520'

@igkyab igkyab added this to the 2.9.0 milestone Sep 28, 2016
@burisu burisu modified the milestones: 2.9.0, 2.8.1 Sep 28, 2016
@igkyab
Copy link
Contributor Author

igkyab commented Sep 28, 2016

Fix with commit 6bf4afb

@igkyab igkyab closed this as completed Sep 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants