1. 03 Feb, 2021 1 commit
  2. 10 Feb, 2021 1 commit
  3. 03 Feb, 2021 1 commit
  4. 29 Jan, 2021 1 commit
    • Philippe Pepiot's avatar
      [views] fix possible UnboundLocalError in ErrorView · a86026d00690
      Philippe Pepiot authored
      This fixes:
      
      File "/usr/local/lib/python3.7/dist-packages/cubicweb/web/views/management.py", line 156, in call
          binfo = text_error_description(ex, excinfo, req, eversion, cversions)
      UnboundLocalError: local variable 'eversion' referenced before assignment
      
      This occur when self._cw.cnx is False and `submit-mail` is configured.
      a86026d00690
  5. 09 Feb, 2021 3 commits
  6. 13 Mar, 2019 1 commit
  7. 21 May, 2019 1 commit
    • Laurent Peuch's avatar
      [database/exception] include the query information in database error for better debuging · 65caef71dc24
      Laurent Peuch authored
      This will change an exception from something like :
      
          psycopg2.IntegrityError: null value in column "asource" violates not-null constraint
          DETAIL:  Failing row contains (341471, CWRType, null, null).
      
      To:
      
          psycopg2.IntegrityError: when doing the query 'INSERT INTO entities ( eid, type ) VALUES ( %(eid)s, %(type)s )' with the args '{'type': u'CWRType', 'eid': 341471}' got the error 'null value in column "asource" violates not-null constraint
          DETAIL:  Failing row contains (341471, CWRType, null, null).'
      
      Tested with sqlite3 and postgresql.
      65caef71dc24
  8. 08 Feb, 2021 1 commit
  9. 11 Dec, 2020 1 commit
  10. 27 Jan, 2021 1 commit
  11. 03 Feb, 2021 1 commit
  12. 02 Nov, 2016 1 commit
  13. 13 Oct, 2016 1 commit
  14. 14 Nov, 2016 1 commit
  15. 27 Jan, 2021 1 commit
  16. 22 May, 2020 1 commit
  17. 08 Jul, 2020 1 commit
  18. 26 Jan, 2021 3 commits
  19. 19 Jan, 2021 3 commits
  20. 21 Jan, 2021 1 commit
  21. 19 Jan, 2021 6 commits
  22. 15 Jan, 2021 2 commits
  23. 19 Jan, 2021 1 commit
  24. 26 Jan, 2021 4 commits
  25. 19 Jan, 2021 1 commit