deb-barbican/barbican/model
Dave McCowan 9744f80186 Handle SQL Integrity Error More Generically
SQL command with IntegrityError when any number of
constraints fail to pass.  These include checking for
duplicates, checking for not null, or foreign key checks.

Barbican was reporting these all as duplicates which can confuse
debugging.  This patch reports the error more accurately as an
SQL constraint check failure.

Change-Id: I7043fe01f949326b1e38c8f320ece8418f36acc4
Co-Authored-By: Dave McCowan <dmccowan@cisco.com>
Closes-bug: #1489457
2017-03-06 15:48:40 +00:00
..
migration Add Apache 2.0 license header to the alembic_migrations/script.py.mako 2016-11-22 09:58:22 +08:00
__init__.py Files with no code must be left completely empty 2016-11-17 14:19:47 +08:00
clean.py Remove translations for debug level log 2016-11-03 10:21:21 +08:00
models.py Revert "Add ID property to all entities" 2017-01-30 21:27:29 +02:00
repositories.py Handle SQL Integrity Error More Generically 2017-03-06 15:48:40 +00:00