CMFActivity.Activity.SQLBase: Catch DatabaseError.
Fixes browsing ERP5 documents without activity tables available. Of course, as most modifications trigger activity creation, no modifications are possible. But this improves read-only access in degraded conditions. Also, by design a successful query must return one line, so do not test returned value before processing it.
Showing
Please register or sign in to comment