OpenUnited / platform

Other
41 stars 66 forks source link

fix: ensure clarity in retrieval of product tree and related product areas, add fixtures for product trees and areas #355

Closed adrianmcphee closed 6 days ago

adrianmcphee commented 6 days ago

With various model enhancements such as changing naming of Capability to Product Area and data model changes to allow multiple Product Trees for a single Product and for Product Trees to exist independently of a Product, it was necessary to clean up some of the view related code that works with models so that it is clear and robust.

This PR also adds to the Product Management app's fixtures to ensure that there is sufficient Product Tree and Product Area data in development and testing.