HomePhabricator

Update duplicate handling

Description

Update duplicate handling

  • prevent duplicate list names
  • when duplicate lists or entries are created, pretend to succeed and return the id of the existing row instead of throwing an error
  • in the case of lists, also update the description if it is different

This obsoletes the message 'readinglists-db-error-duplicate-page' but
it isn't removed as a later patch will be able to reuse the translations.

Bug: T184680
Change-Id: I61c8176cf5913c53c5291872432fafa7415414d3

Details

Provenance
TgrAuthored on Feb 20 2018, 1:13 AM
MhollowayCommitted on Mar 5 2018, 7:37 PM
Parents
rERLSff5c38403e6e: Track reading list size
Branches
Unknown
Tags
Unknown
ChangeId
I61c8176cf5913c53c5291872432fafa7415414d3