New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inherited organisation membership is not transferred to the individual contact if one of two relationship types defined in the membership type is disabled #14410
Conversation
(Standard links)
|
@agh1 i know you have been dabbling in membership stuff recently do you have any feelings on this PR? |
@agilewarealok this one has style issues |
I don't have time to review this now (got less PR review work done in Brooklyn than I hoped), but based purely on the description, it sounds like a bug. For someone to test this out, I'd expect they'd want to:
|
@eileenmcnaughton just noting that this PR is not "stale" - just needs some pretty minor work to get rid of the conflicts. |
@jusfreeman you are welcome to rebase it & re-open it - that can also have the effect of bringing it onto the front page - which can be good |
568bfbd
to
f016480
Compare
…relationship This pulls out some of the good work & test written in civicrm#14410, but treating the parts as separate bugs with separate cleanup requirements. I put up cleanup in civicrm#15061 And this addresses the need for the relationship to not be deleted if a valid one still exists - wrangled out into a separate function
…relationship This pulls out some of the good work & test written in civicrm#14410, but treating the parts as separate bugs with separate cleanup requirements. I put up cleanup in civicrm#15061 And this addresses the need for the relationship to not be deleted if a valid one still exists - wrangled out into a separate function
…relationship This pulls out some of the good work & test written in civicrm#14410, but treating the parts as separate bugs with separate cleanup requirements. I put up cleanup in civicrm#15061 And this addresses the need for the relationship to not be deleted if a valid one still exists - wrangled out into a separate function
…relationship This pulls out some of the good work & test written in civicrm#14410, but treating the parts as separate bugs with separate cleanup requirements. I put up cleanup in civicrm#15061 And this addresses the need for the relationship to not be deleted if a valid one still exists - wrangled out into a separate function
…relationship This pulls out some of the good work & test written in civicrm#14410, but treating the parts as separate bugs with separate cleanup requirements. I put up cleanup in civicrm#15061 And this addresses the need for the relationship to not be deleted if a valid one still exists - wrangled out into a separate function
f016480
to
76d11f5
Compare
76d11f5
to
c798d73
Compare
c798d73
to
3c514c7
Compare
…relationship This pulls out some of the good work & test written in civicrm#14410, but treating the parts as separate bugs with separate cleanup requirements. I put up cleanup in civicrm#15061 And this addresses the need for the relationship to not be deleted if a valid one still exists - wrangled out into a separate function
…relationship This pulls out some of the good work & test written in civicrm#14410, but treating the parts as separate bugs with separate cleanup requirements. I put up cleanup in civicrm#15061 And this addresses the need for the relationship to not be deleted if a valid one still exists - wrangled out into a separate function
…relationship This pulls out some of the good work & test written in civicrm#14410, but treating the parts as separate bugs with separate cleanup requirements. I put up cleanup in civicrm#15061 And this addresses the need for the relationship to not be deleted if a valid one still exists - wrangled out into a separate function
…relationship This pulls out some of the good work & test written in civicrm#14410, but treating the parts as separate bugs with separate cleanup requirements. I put up cleanup in civicrm#15061 And this addresses the need for the relationship to not be deleted if a valid one still exists - wrangled out into a separate function
…relationship This pulls out some of the good work & test written in civicrm#14410, but treating the parts as separate bugs with separate cleanup requirements. I put up cleanup in civicrm#15061 And this addresses the need for the relationship to not be deleted if a valid one still exists - wrangled out into a separate function
@eileenmcnaughton I think this one can be closed then? |
@agileware-pengyi OK - I'll close it -but I don't think all the stuff in it has been brought over yet. Still we can experiment with uncommenting more lines of the test Agileware wrote once the other is merged |
@eileenmcnaughton I think #15731 is the last one? |
@agileware-pengyi I think so - that unit test was quite a good 'shopping list' of what should work. The code was just so incomprehensible though! |
Overview: Steps to reproduce
Individual A should have inherited membership re-created if one Relationship is enabled with Organisation A
Before
Membership not re-created if one relationship is not enabled.
After
Membership is re-created after one of the relationships is enabled.
Comments
Agileware Ref: CIVICRM-1063