Last modified: 2014-05-22 05:52:05 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 T67215, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65215 - API module wbmergeitems fails if exists label and description for a language in the source item
API module wbmergeitems fails if exists label and description for a language ...
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: High major (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=0
:
Depends on:
Blocks: repoapi
  Show dependency treegraph
 
Reported: 2014-05-12 10:22 UTC by JulesWinnfield-hu
Modified: 2014-05-22 05:52 UTC (History)
9 users (show)

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


Attachments

Description JulesWinnfield-hu 2014-05-12 10:22:17 UTC
I wanted to merge https://www.wikidata.org/wiki/Q16425466 into https://www.wikidata.org/wiki/Q1884111 and I got <<API ERROR CODE: failed-save VALUE: Another item (Q16425466) already has label "Bughea de Jos" and description "comune della Romania nel distretto di Argeș" associated with language code it.>> after data removed from Q16425466.
Comment 1 Lydia Pintscher 2014-05-13 09:01:26 UTC
Is this the only time this happened or have you seen it several times?
Comment 2 JulesWinnfield-hu 2014-05-13 09:36:17 UTC
(In reply to Lydia Pintscher from comment #1)
> Is this the only time this happened or have you seen it several times?

I didn't try more times, but I've encountered this before and I can show other pairs which I think will give this error.
Comment 3 Lydia Pintscher 2014-05-14 12:54:58 UTC
It'd be great to have another link or two, yes. Thanks!
Comment 4 JulesWinnfield-hu 2014-05-14 13:30:36 UTC
(In reply to Lydia Pintscher from comment #3)
> It'd be great to have another link or two, yes. Thanks!

https://www.wikidata.org/wiki/Q12724614 into https://www.wikidata.org/wiki/Q1896963

https://www.wikidata.org/wiki/Q12724552 into https://www.wikidata.org/wiki/Q1884147
Comment 5 JulesWinnfield-hu 2014-05-21 10:16:26 UTC
Error changed to API ERROR CODE: failed-save VALUE: Item being merged to has conflicting terms: ( => it => Boțești => Q12724570) ( => it =>
 comune della Romania nel distretto di Argeș => Q12724570)

merging https://www.wikidata.org/wiki/Q12724570 into https://www.wikidata.org/wiki/Q3396080

Source item is not changed, which is better.
Comment 6 Inkowik 2014-05-21 18:42:06 UTC
I just had the same issue when I tried to merge https://www.wikidata.org/wiki/Q14538491 into https://www.wikidata.org/wiki/Q2877196.

My dirty workaround failed, so I had to fix it manually.
Comment 7 Lydia Pintscher 2014-05-21 20:03:07 UTC
This is becoming a huge issue with Wikidata the Game.
Comment 8 Marius Hoch 2014-05-21 20:53:38 UTC
Works for me locally on master. I wasn't able to reproduce this, no matter how hard I tried.
Next Wikidata deploy is on Tuesday the 27th, if this is still an issue after, that please reopen.
Comment 9 Daniel Kinzler 2014-05-21 21:27:14 UTC
Hm... I recently touch that code. Poke me if this problem doesn't go away.

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


Navigation
Links