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

FOREIGN KEY EXCEPTION when running plugin on local machine with SQLite #11

Open
favdv opened this issue May 15, 2019 · 0 comments
Open

Comments

@favdv
Copy link

favdv commented May 15, 2019

When installing the latest version of wagtail, the latest version of the wagtailbakerydemo and the latest version of the plugin on a local environment, using the default SQLite database setup, a "FOREIGN KEY constraint failed" exception is appearing.

To replicate the issue:

  • Install wagtail as per the wagtail site in venv and test (works OK),
  • Install bakerydemo and test (works OK)
  • install the review plugin (installs OK)
  • run wagtail on localhost and access Admin
  • Go to the About Us page (page id=76), make a change and Save As Draft
  • Select "Submit for review" from the dropdown
  • In the modal, select a review type and a user that needs to review the content
  • Press the Submit button.

With debugging disabled, an internal server error is shown.

Debug tracelog info attached.

Errors+found+during+install.docx

@favdv favdv changed the title FOREIGN KEY EXCEPTION when installing on local machine with SQLLite FOREIGN KEY EXCEPTION when installing on local machine with SQLite May 15, 2019
@favdv favdv changed the title FOREIGN KEY EXCEPTION when installing on local machine with SQLite FOREIGN KEY EXCEPTION when running plugin on local machine with SQLite May 15, 2019
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

1 participant