Changes between Initial Version and Version 3 of Ticket #30318


Ignore:
Timestamp:
04/03/2019 06:24:59 PM (20 months ago)
Author:
Alasdair Nicol
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30318

    • Property Status changed from new to assigned
    • Property Summary changed from Add new system check message when 'path.to.view' is cannot be imported to Add new system check message when custom error handler 'path.to.view' cannot be imported
    • Property Owner changed from nobody to Alasdair Nicol
    • Property Triage Stage changed from Unreviewed to Accepted
    • Property Type changed from Uncategorized to Bug
    • Property Severity changed from Normal to Release blocker
  • Ticket #30318 – Description

    initial v3  
    11#29642 added checks for the signatures of custom error handlers.
    22
    3 When the 'path.to.view' cannot be imported, it raises ModuleNotFoundError, as seen in this Stack Overflow question
     3When the 'path.to.view' cannot be imported, it raises ModuleNotFoundError or ViewDoesNotExist, as seen in this Stack Overflow question:
    44
    55https://stackoverflow.com/q/55481810/113962
    66
    7 I suggest we catch the ModuleNotFoundError, and add another check code, e.g.
     7I suggest we catch the exception, and add another check code, e.g.
    88
     9{{{
    910* **urls.E008**: The custom ``handlerXXX`` view ``'path.to.view'`` cannot be imported.
     11}}}
Back to Top