• 
      

    Ensure form registry is populated when adding or removing forms to pages

    Review Request #8725 — Created Feb. 8, 2017 and submitted

    Information

    Djblets
    release-0.10.x
    33422a0...

    Reviewers

    The ConfigPageRegistry was not populating the ConfigPageFormRegistry
    when calling add_form_to_page or remove_form_from_page, which would
    lead to issues when removing pages in tbe case that the method
    was called before the registry was populated. We now specifically
    populate the form registry to avoid this.

    Ran unit tests. The new unit tests fail without this fix applied.

    reviewbot
    1. Tool: Pyflakes
      Processed Files:
          djblets/configforms/registry.py
      
      
      
      Tool: PEP8 Style Checker
      Processed Files:
          djblets/configforms/registry.py
      
      
    2. 
        
    david
    1. Can we get a new test that fails before this change and succeeds after?

    2. 
        
    brennie
    reviewbot
    1. Tool: PEP8 Style Checker
      Processed Files:
          djblets/configforms/registry.py
      
      
      
      Tool: Pyflakes
      Processed Files:
          djblets/configforms/registry.py
      
      
    2. 
        
    brennie
    reviewbot
    1. Tool: Pyflakes
      Processed Files:
          djblets/configforms/registry.py
          djblets/configforms/tests.py
      
      
      
      Tool: PEP8 Style Checker
      Processed Files:
          djblets/configforms/registry.py
          djblets/configforms/tests.py
      
      
    2. 
        
    david
    1. Ship It!
    2. 
        
    brennie
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-0.10.x (4898c9f)