Product Bundle reactivation does not work correctly
After reactivating a bundle, the status incorrectly indicates Draft and the Update buttons and Deactivate action is incorrect.
Take an Active bundle and deactivate it. The status is Deactivated and the Update buttons are enabled (as expected). Update a benefit ( choose Eligibility, Pricingor others, it does not matter). Reactivate the bundle. The status now indicates Draft (should be Active), the Update buttons are still enabled (they should be disabled), In the Actions menu the Deactivate item is disabled (it should be enabled).
Steps to Reproduce
1. Take an active bundle, deactivate it, add a benefit, reactivate it.
2. After reactivating it, the Update buttons on the gadgets remain enabled, they should be disabled. However, the Actions menu can no longer be used to re-activate it.
The root cause of this problem is a defect in Pegasystems’ code/rules. The issue is observed only if the benefits are updated on the same product bundle form where it was deactivated.
If you close the product bundle form after deactivation. Reopen it, then perform the update benefits, the issue is not seen.
This issue is resolved by HFix-22804.