Changes between Initial Version and Version 3 of Ticket #30318


Ignore:
Timestamp:
Apr 3, 2019, 6:24:59 PM (6 years ago)
Author:
Alasdair Nicol
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30318

    • Property Owner changed from nobody to Alasdair Nicol
    • Property Status newassigned
    • Property Severity NormalRelease blocker
    • Property Triage Stage UnreviewedAccepted
    • Property Type UncategorizedBug
    • Property Summary Add new system check message when 'path.to.view' is cannot be importedAdd new system check message when custom error handler 'path.to.view' cannot be imported
  • 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