DMH Fixes (July 9th 2019)

Focused Package not set for new user or after converting a Package to an Order

Objective: Resolve a bug that would not allow new users to add content to a focused package after it was converted to an order. 

Implementation: Updated the convert service that was creating an error after a package was converted to an order. 

Users unable to delete a Package

Objective: For DMH sites that have the Package feature enabled, users were unable to delete a package despite having permissions. When a user would create a new package and view that package, the delete icon was disabled. 

Implementation: Updated the package management to ensure users have the ability to access and select the the delete icon when viewing a previously created package. 

Package counter doesn't reset after converting a Package to an Order

Objective: When a user added content to their focused Package, the counter icon in the upper right corner of the page displays the number of assets that have been added to the user Package. Once the user converted the Package to an Order, the user is directed to the Order detail page and the Package counter still displays the count despite the Package being converted to an Order. 

Implementation: Updated the convert service that was creating an error after a package was converted to an order.