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::Error: ERROR: null value in column "refinery_page_id" violates not-null constraint #2456

Closed
xuwupeng2000 opened this issue Oct 31, 2013 · 2 comments

Comments

@xuwupeng2000
Copy link

PG::NotNullViolation: ERROR: null value in column "refinery_page_id" violates not-null constraint
DETAIL: Failing row contains (2, null, en, 2013-10-31 02:18:13.486058, 2013-10-31 02:18:13.486058, null, null, null, null).
: INSERT INTO "refinery_page_translations" ("created_at", "custom_slug", "locale", "menu_title", "refinery_page_id", "slug", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"

I just get this, look like a bug to me.

@xuwupeng2000
Copy link
Author

SQLite3::ConstraintException: refinery_page_translations.refinery_page_id may not be NULL: INSERT INTO "refinery_page_translations" ("created_at", "custom_slug", "locale", "menu_title", "refinery_page_id", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)

And this. When I try to create a page.

@ugisozols
Copy link
Member

Dup of #2450.

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

No branches or pull requests

2 participants