https://bugzilla.wikimedia.org/show_bug.cgi?id=43301
Web browser: --- Bug ID: 43301 Summary: No handling for when entering the same description for an item whose label exists twice Product: MediaWiki extensions Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: WikidataRepo Assignee: wikidata-b...@lists.wikimedia.org Reporter: henning.sna...@wikimedia.de CC: wikibugs-l@lists.wikimedia.org, wikidata-b...@lists.wikimedia.org Classification: Unclassified Mobile Platform: --- Prerequisites: Two items with the exact same label but different descriptions. Change the description of one item to be the same as the other item's description. The description appears to be saved but reloading the page reveals it is not. The API response does not return a "lastrevid" parameter. So, when changing one of the descriptions to match the other one and instantly trying to change the description again without reloading, a JavaScript error locking the page is caused since the revision id is undefined. Probably, the API should return an error that an item with the same combination of label an description exists already or it should simply save the combination (just like it is possible to create an item with a combination of label and description that is already in use). -- You are receiving this mail because: You are on the CC list for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l