Last modified: 2013-02-20 16:56:12 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 T45990, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43990 - Make wb_changes robust against version differences.
Make wb_changes robust against version differences.
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-15 11:44 UTC by Daniel Kinzler
Modified: 2013-02-20 16:56 UTC (History)
5 users (show)

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


Attachments

Description Daniel Kinzler 2013-01-15 11:44:14 UTC
wb_changes should use a robust serialization mechanism. Serialized PHP objects often become incompatible due to changes the the class definition. Serializing nested array structures instead (as JSON or using php serialization) would avoid this.

wb_changes is accessed by client side code which may be running a different Wikibase version than the repository. The client version may be older or new as the repo version, depending on how and where it is dunning. Also, old entries in wb_changes may easily have been created by an old version of the repository.
Comment 1 Wikidata Bot 2013-01-28 21:41:41 UTC
Change I9fd62298: (bug 43990) Robust serialization of change objects
Comment 2 Wikidata Bot 2013-01-29 12:01:42 UTC
Change I0728282d: (bug 43990) Object conversion for diff arrayalisation.
Comment 3 Anja Jentzsch 2013-02-15 15:55:34 UTC
Change I0728282d has been merged.
Comment 4 Daniel Kinzler 2013-02-15 15:55:47 UTC
Final patch: I9fd62298
Comment 5 abraham.taherivand 2013-02-20 16:56:12 UTC
Verified in Wikidata demo sprint 33

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


Navigation
Links