Last modified: 2014-02-26 02:52:06 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 T63430, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61430 - Editing is broken: Duplicate entry for key 'flow_revision_unique_parent'
Editing is broken: Duplicate entry for key 'flow_revision_unique_parent'
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 61493 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-16 03:49 UTC by wctaiwan
Modified: 2014-02-26 02:52 UTC (History)
6 users (show)

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


Attachments

Description wctaiwan 2014-02-16 03:49:22 UTC
In my local mediawiki-vagrant installation, editing (headers, titles or posts) first appears to succeed, but the change is not reflected when I reload the page. Further attempts to edit the same item results in the following error:

An error occurred.
The error message received was: Exception Caught: A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script Query: INSERT INTO `flow_revision` (rev_id,rev_user_id,rev_user_ip,rev_parent_id,rev_change_type,rev_type,rev_content,rev_flags,rev_mod_state,rev_mod_user_id,rev_mod_user_ip,rev_mod_timestamp,rev_mod_reason,rev_last_edit_id,rev_edit_user_id,rev_edit_user_ip) VALUES ('���=U������','1',NULL,'�����uj��@�','edit-header','header','aaa','utf-8,wikitext','',NULL,NULL,NULL,NULL,'���=U������','1',NULL) Function: Flow\Data\RevisionStorage::insert Error: 1062 Duplicate entry '\x05\x10\x12\x8C\xD1uj\xF6\x0B@\x08' for key 'flow_revision_unique_parent' (localhost)

This is despite having run update.php.
Comment 1 Gerrit Notification Bot 2014-02-16 16:50:23 UTC
Change 113657 had a related patch set uploaded by EBernhardson:
Replace missing parent:: call

https://gerrit.wikimedia.org/r/113657
Comment 2 wctaiwan 2014-02-16 17:11:44 UTC
The provided patch addresses the issue in my local setup.
Comment 3 Erik Bernhardson 2014-02-18 17:02:33 UTC
*** Bug 61493 has been marked as a duplicate of this bug. ***
Comment 4 Gerrit Notification Bot 2014-02-18 23:37:49 UTC
Change 113657 abandoned by EBernhardson:
Replace missing parent:: call

Reason:
Fixed in I2227e8b26fe4bfe22fa64b67bc84e35a491679df

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

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


Navigation
Links