Page MenuHomePhabricator

Saving an edit with no change gives nonsense error message
Closed, ResolvedPublic

Description

Problem

If you try to save a watched component and make no change, you'll get "Could not edit: would create a duplicate watched component".
 

Proposed solution

Make the tool either say "no change" or throw a success message.
 
Student is expected to upload a patch against labs/tools/watch-translations repository at Wikimedia Gerrit. Student should claim Phabricator task while claiming task at the GCI site.
 

Materials

 

Event Timeline

RetroCraft subscribed.

Claiming as part of Google Code-In 2019.

Change 557631 had a related patch set uploaded (by RetroCraft; owner: RetroCraft):
[labs/tools/watch-translations@master] Add specific message for no change error

https://gerrit.wikimedia.org/r/557631

Change 557631 merged by jenkins-bot:
[labs/tools/watch-translations@master] Add specific message for no change error

https://gerrit.wikimedia.org/r/557631