Closed Bug 953349 Opened 11 years ago Closed 10 years ago

Creating a new wiki page shows an error on first submit

Categories

(developer.mozilla.org Graveyard :: General, defect, P1)

All
Other

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 878921

People

(Reporter: ramzthetester, Unassigned)

Details

(Whiteboard: [specification][type:bug])

What did you do?
================
1. Logged on to https://developer-dev.allizom.org
2. Go to webpage https://developer-dev.allizom.org/en-US/docs/new?slug=MDNTestAutomation1
3. Set the TOC Level to All Level
4. Set the content to TEST
5. Click Submit

What happened?
==============
An error is shown as below

Select a valid choice. That choice is not one of the available choices.

What should have happened?
==========================
It should have saved the page. 

Is there anything else we should know?
======================================
If i click submit the page second time it works fine.
I can reproduce this on https://developer-dev.allizom.org.

:groovecoder, do we have any information like logs or a test case on staging 
that could narrow down this problem to just the dev environment?

I /assume/ someone would have reported this if it appeared in production, but I 
would rather be safe than sorry.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(lcrouch)
Summary: Creating a wiki shows an error on first submit → Creating a new wiki page shows an error on first submit
This happens in production too, but only for template creation.

Try: https://developer.mozilla.org/en-US/docs/new?slug=Template%3Atest2 (I didn't resubmitted it so it should still happen)

There was a bug opened, but don't have it handy.
Severity: normal → major
Priority: -- → P1
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/3b5ee23bcddebecfe55a8361b264b27df9e21ad1
fix bug 979807, 878921, 953349 - Prevent first doc save error message

https://github.com/mozilla/kuma/commit/b64281dedecf2a93413f64349481c0347cd1339c
Merge pull request #2193 from darkwing/fix-valid-choice-878921

fix bug 979807, 878921, 953349 - Prevent first doc save error message
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Flags: needinfo?(lcrouch)
Resolution: FIXED → DUPLICATE
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.