How to reproduce: 1. assign puppet environment to organization 2. go to organization details, in environments check "All environments" button 3. go to environment details: the organization is unassigned from the organization. With this behavior, checking the "all environments" lead to loosing the whole information about the originally assigned organization. Unchecking "all environments" later would end up with organization without environments. Expected behaviour: The organization assignments is preserved when the "all environments" is checked. See https://bugzilla.redhat.com/show_bug.cgi?id=1474249 for consequences.
*** Bug 1474249 has been marked as a duplicate of this bug. ***
This will be probably fixed by BZ 1321543, we should retest when it's merged. We won't keep the history of what was assigned before but all environments will be associated. The issue described in 1474249 should not occur anymore.
I can confirm this is fixed with BZ 1321543. *** This bug has been marked as a duplicate of bug 1321543 ***
Test coverage removed as BZ 1321543 was closed with WONTFIX resolution