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

Internal server error on article #400

Open
siddadel opened this issue Jun 17, 2019 · 1 comment
Open

Internal server error on article #400

siddadel opened this issue Jun 17, 2019 · 1 comment

Comments

@siddadel
Copy link
Collaborator

  1. An internal server error shows up when I try to access the following article on wagtail - ‘Even in the heat, there is some guilt if I drink the water…’. Below is a screen shot of the same.

  2. The live version on the website opens without any error message.

  3. The old version of this article accessible through revisions is editable. The revision on current version is not. Screen shot below.

Please, let me know why this happens :)

Screenshot 2019-06-03 at 11 17 03
Screenshot 2019-06-03 at 11 17 19
Screenshot 2019-06-03 at 11 03 16

@charl3sj
Copy link
Contributor

charl3sj commented Jun 18, 2019

Try deleting all those extra "amp;"s in the Youtube URL.
Screenshot 2019-06-18 at 10 29 03 PM

Seems to be a bug in Wagtail where the '&' in& gets escaped and generates extra amp;s while saving. Interestingly, this becomes a problem when an article is saved many times (in other words, many revisions) thereby causing the string length to increase and overshoot db column capacity.

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