Edgewall Software

Changes between Initial Version and Version 46 of Ticket #6348


Ignore:
Timestamp:
Jul 8, 2011, 9:15:14 PM (13 years ago)
Author:
Remy Blank
Comment:

I have committed the last approach in [10737]. Also, instead of showing an error and bailing out when adding a permission that was already granted, I print a message but continue with the following permissions. I feel that this strategy is more useful to the user.

Peter, did you want to go through other parts of the code and add relevant try: except: blocks to display more sensible error messages? Or are all the most frequent cases covered?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6348

    • Property Severity normalmajor
    • Property Cc felix.schwarz@… added
    • Property Component trac-admindatabase backend
    • Property Summary Duplicate permission causes tracebackCatch database exceptions in a backend neutral way
    • Property Priority normalhigh
    • Property Owner changed from Christopher Lenz to Peter Suter
    • Property Milestone 0.110.13
    • Property Keywords db integrityerror needmajor added
  • Ticket #6348 – API Changes

    initial v46  
     1 * Added the method `get_exceptions()` to `IDatabaseConnector`.
     2 * Added the attribute `db_exc` to `Environment` to access DB-specific exception types.