Update duplicate handling

This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.


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
(cherry picked from commit 3d076d9cb1eedae921a699cc40cb4ec45541f3db)


TgrAuthored on Feb 20 2018, 1:13 AM

Commit No Longer Exists

This commit no longer exists in the repository.