https://bugzilla.wikimedia.org/show_bug.cgi?id=64358

            Bug ID: 64358
           Summary: Incorrect EditConflict Exception
           Product: Pywikibot
           Version: core (2.0)
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
       Web browser: ---
   Mobile Platform: ---

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.")

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to