Page MenuHomePhabricator

UI: removing alias that exists twice is not possible
Closed, ResolvedPublic

Description

E.g.: http://wikidata.org/w/index.php?title=Q3595948&oldid=6513087&uselang=as

If you click edit on alias the duplication is not shown anymore. If you remove this alias and click save an error occurs: "An error occurred while trying to perform remove and because of this, your changes could not be completed."


Version: unspecified
Severity: critical
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=44768

Details

Reference
bz45013

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:28 AM
bzimport set Reference to bz45013.
bzimport added a subscriber: Unknown Object (MLST).

On "Remove duplicate aliases" I used Special:SetAliases (turn off Javascript) to create duplicates by removing array_unique in line 334 of Entity.php. After that I used ordinary JS-driven UI-editing to verify that the item with duplicates was available and editable. The duplicates was then edited or removed without any errors.

  • Bug 45139 has been marked as a duplicate of this bug. ***

Verified in Wikidata demo sprint 35-2

Restricted Application added a subscriber: StudiesWorld. · View Herald Transcript