Last modified: 2014-11-10 10:36:59 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 T66358, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64358 - Incorrect EditConflict Exception
Incorrect EditConflict Exception
Status: NEW
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
: testme
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-24 12:07 UTC by zhuyifei1999
Modified: 2014-11-10 10:36 UTC (History)
4 users (show)

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


Attachments

Description zhuyifei1999 2014-04-24 12:07:09 UTC
Site.upload may trigger EditConflict when using Page.save if page is loaded before the upload.

EditConflict is raised in site.py line 2796-2798:
        if lastrev is not None and page.latestRevision() != lastrev:
            raise EditConflict(
                "editpage: Edit conflict detected; saving aborted.")
Comment 1 John Mark Vandenberg 2014-11-09 21:00:06 UTC
Site.upload has seen a lot of implements recently; this needs to be re-tested.
Comment 2 zhuyifei1999 2014-11-10 10:36:59 UTC
sure, {{doing}}

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


Navigation
Links