Last modified: 2013-07-17 14:31:25 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 T53192, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51192 - Format of alias data is inconsistent in SetAliases
Format of alias data is inconsistent in SetAliases
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: High major (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-11 19:12 UTC by Aude
Modified: 2013-07-17 14:31 UTC (History)
4 users (show)

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


Attachments

Description Aude 2013-07-11 19:12:20 UTC
Depending on if I am removing an alias (e.g. in the middle of the array), adding one and whatnot, the way the alias data gets saves varys: 


  old_id: 105
 old_text: {"label":{"en":"Soho"},"description":[],"aliases":{"en":["brown","orange","red"]},"claims":[],"links":[],"entity":["item",27]}
old_flags: utf-8
*************************** 106. row ***************************
   old_id: 106
 old_text: {"label":{"en":"Soho"},"description":[],"aliases":{"en":{"1":"orange","2":"red"}},"claims":[],"links":[],"entity":["item",27]}
old_flags: utf-8
Comment 1 Gerrit Notification Bot 2013-07-11 19:51:59 UTC
Change 73316 had a related patch set (by Addshore) published:
Entity removeAliases now resets array keys

https://gerrit.wikimedia.org/r/73316
Comment 2 Gerrit Notification Bot 2013-07-15 19:12:07 UTC
Change 73797 had a related patch set uploaded by Michał Łazowik:
(51192) Resolve data inconsistency in patcher.

https://gerrit.wikimedia.org/r/73797
Comment 3 Gerrit Notification Bot 2013-07-15 20:13:28 UTC
Change 73797 abandoned by Michał Łazowik:
(bug 51192) Resolve data inconsistency in patcher.

Reason:
Per last patch set review

https://gerrit.wikimedia.org/r/73797
Comment 4 Gerrit Notification Bot 2013-07-16 13:22:51 UTC
Change 73316 merged by Jeroen De Dauw:
Entity removeAliases now resets array keys

https://gerrit.wikimedia.org/r/73316
Comment 5 abraham.taherivand 2013-07-17 14:31:25 UTC
Verified in Wikidata demo time July 17th

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


Navigation
Links