Last modified: 2013-08-22 17:38:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T54830, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52830 - [Regression] action=edit&section=new on a non-existent page fails with error message of "editconflict"
[Regression] action=edit&section=new on a non-existent page fails with error ...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.22.0
All All
: High major (vote)
: ---
Assigned To: Kunal Mehta (Legoktm)
: code-update-regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-14 03:32 UTC by Kunal Mehta (Legoktm)
Modified: 2013-08-22 17:38 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-08-14 03:32:51 UTC
Trying to use action=edit&section=new via the API on a page that doesn't exist fails with an error message of "editconflict". 

I'm pretty sure it was be97167ab61e7d59d86f6a9dca53b7016d615735 that introduced it.

I'll have a fix ready in a few minutes.
Comment 1 Gerrit Notification Bot 2013-08-14 03:38:08 UTC
Change 79031 had a related patch set uploaded by Legoktm:
If using &section=new, it is possible the page won't exist.

https://gerrit.wikimedia.org/r/79031
Comment 2 Marius Hoch 2013-08-17 20:04:12 UTC
Merged the fix
Comment 3 Gerrit Notification Bot 2013-08-17 20:07:00 UTC
Change 79031 merged by jenkins-bot:
action=edit API with section=new would fail if page didn't exist

https://gerrit.wikimedia.org/r/79031
Comment 4 Gerrit Notification Bot 2013-08-19 23:15:36 UTC
Change 79950 had a related patch set uploaded by Reedy:
action=edit API with section=new would fail if page didn't exist

https://gerrit.wikimedia.org/r/79950
Comment 5 MZMcBride 2013-08-20 00:17:58 UTC
(In reply to comment #4)
> https://gerrit.wikimedia.org/r/79950

Looks like this commit got cherry-picked to 1.22wmf13, but the bot set patch_to_review. Hrm.
Comment 6 Marius Hoch 2013-08-20 06:15:24 UTC
Closing again, looks like a bug with the notification bot.
Comment 7 Gerrit Notification Bot 2013-08-22 17:38:40 UTC
Change 79950 merged by jenkins-bot:
action=edit API with section=new would fail if page didn't exist

https://gerrit.wikimedia.org/r/79950

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links