Closed
Bug 1268511
Opened 9 years ago
Closed 9 years ago
Akismet payload error with some revision tag strings
Categories
(developer.mozilla.org Graveyard :: Editing, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: jwhitlock, Assigned: jwhitlock)
References
Details
(Keywords: in-triage, Whiteboard: [specification][type:bug])
Attachments
(1 file)
1.82 KB,
text/plain
|
Details |
What did you do?
================
A user attempted to translate https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_servers
What happened?
==============
An assertion error, because the tags string of the base English revision did not start with a double quote:
Guide, HTML5, NeedsContent, NeedsExample, Tutorial, WebSocket, WebSockets, guide
It was expecting something like:
"Guide", "HTML5", ...
What should have happened?
==========================
The tag string should have been split on commas instead
Is there anything else we should know?
======================================
Sentry reports 2 users have encountered the error:
https://sentry.prod.mozaws.net/operations/mdn-prod/issues/327956/.
Will attach traceback.
Assignee | ||
Comment 1•9 years ago
|
||
Traceback of error
Assignee | ||
Comment 4•9 years ago
|
||
This is happening frequently enough that I think it is safe to call it critical before the bug triage meeting.
Assignee: nobody → jwhitlock
Severity: normal → critical
Comment 5•9 years ago
|
||
(In reply to John Whitlock [:jwhitlock] from comment #0)
> ==============
> An assertion error, because the tags string of the base English revision did
> not start with a double quote:
>
> Guide, HTML5, NeedsContent, NeedsExample, Tutorial, WebSocket, WebSockets,
> guide
>
> It was expecting something like:
>
> "Guide", "HTML5", ...
I'm confused by this. Editors never had to enter tags with double quotes. So, what am I supposed to do in this case?
Sebastian
Flags: needinfo?(jwhitlock)
Assignee | ||
Comment 6•9 years ago
|
||
Some revisions have the tags saved with quotes, others do not. This is probably due to some change made in the past in how tags are remembered from revision to revision, so it is a bug more likely to appear when editing a page that hasn't been edited in a while.
There's nothing that can or should be done in the editing interface to work around this bug. It requires a server-side fix.
Flags: needinfo?(jwhitlock)
Comment 7•9 years ago
|
||
Thanks for the fast reply! So I'm eager to see this bug fixed then.
Sebastian
Comment 8•9 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/e71e8129a9fdebc7bcfb95f702c73d84553b9b9d
bug 1268511 - Handle tag lists without quotes
Use taggit.utils.parse_tags to parse revision.tags into a tag list.
https://github.com/mozilla/kuma/commit/a68286665b06cb2ee616f9866362db19ed59d674
Merge pull request #3851 from mozilla/akismet_tags_1268511
bug 1268511 and bug 1259870 - Akismet integration fixes
Assignee | ||
Comment 9•9 years ago
|
||
Fix is in production. Sebastian, can you confirm that you can make your desired edit?
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(sebastianzartner)
Resolution: --- → FIXED
Comment 10•9 years ago
|
||
Worked. Thank you for the fast patch!
Sebastian
Status: RESOLVED → VERIFIED
Flags: needinfo?(sebastianzartner)
Comment 11•9 years ago
|
||
To confim, my revision at https://developer.mozilla.org/en-US/docs/Glossary/Vendor_Prefix worked as well. Cheers!
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•