Show an appropriate error when trying to load an uninstalled extension.

Review Request #7855 — Created Jan. 7, 2016 and submitted

Information

Djblets
release-0.10.x

Reviewers

When an extension is uninstalled, we still have the entry in the
database with the configuration for that extension. However, since
it couldn't be loaded, we try to show an error message, but never get
far enough to compute one.

We now have a suitable error in the API in the case where the extension
class doesn't exist, saying that the extension isn't installed. This
will help with this confusing error state.

Loaded my extension list and saw reasonable error messages, instead of
a blank error.

Description From Last Updated

Instead of "rescanning for extensions", can we say "click "Scan for installed extensions""?

daviddavid
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        djblets/extensions/resources.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        djblets/extensions/resources.py
    
    
  2. 
      
david
  1. 
      
  2. djblets/extensions/resources.py (Diff revision 1)
     
     
    Show all issues

    Instead of "rescanning for extensions", can we say "click "Scan for installed extensions""?

  3. 
      
chipx86
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/extensions/resources.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/extensions/resources.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.10.x (3b72035)
Loading...