With membership type that offers "Employer of" relationships, there are circumstances where membership status of employees is not updated correctly.
To create this on the demo system:
1) Create a new membership type that offers "Employer of" relationships (we can call it a 'Business' membership)
2) Assign OrganizationA an active Business membership
3) Create an "employer of" relationship from IndividualA to OrganizationA. The Membership tab of IndividualA will now be correctly updated to show a membership of type Business.
There are a number of different changes that can now be made to the relationship or membership. The status of IndividualA's membership correctly updates in some cases, but there appear to be problems in others:
Case A - Delete relationship (CORRECT)
4a) Delete 'Employee of' relationship between OrganizationA and IndividualA. IndividualA does not have a Business membership any more as expected.
Case B - Disable relationship (PROBLEM)
4b) On IndividualA's relationship page, disable the 'Employee of' relationship to OrganizationA. IndividualA's membership tab incorrectly still shows a current Business membership.
Case C - Change membership status to expired using "Status hold" (PROBLEM)
4c) On OrganizationA's membership page, change the Business membership status to expired using the "status hold". IndividualA's membership tab incorrectly still shows a current Business membership.
Case D - Change membership dates (PROBLEM)
4c) On OrganizationA's membership page, change the Business membership dates resulting in expired status. IndividualA's membership tab incorrectly still shows the original dates, and a current Business membership status. The dates should be changed to those specified on OrganizationA's membership and the status should therefore be the same.
Note that I have not tested this for other types of relationships, but if there is a similar problem hopefully it would be corrected by the fix to this.