CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Inherited membership bug in 3.0?
Pages: [1]

Author Topic: Inherited membership bug in 3.0?  (Read 2323 times)

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Inherited membership bug in 3.0?
December 10, 2009, 07:45:31 pm
I am not totally sure but believe we had this working in 2.2.x - i will go double check but

On DEMO site I have done the following

- created a membership type with 'inherited membership' for 'employer of' ("PD test Org inherit" if it is still there when anyone checks)

- created a membership page "pd test" http://drupal.demo.civicrm.org/civicrm/admin/contribute?reset=1&action=update&id=5 which requires 'sign up on behalf of'

Now when someone fills in the form, they get the relationship, and the Organisation gets the membership BUT the contact does not get the membership.

Any reason why this is not a bug?
« Last Edit: December 10, 2009, 08:19:12 pm by peterd »
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Inherited membership bug in 3.0?
December 10, 2009, 08:16:15 pm
Just tested in Sandbox and not working their either  :-\

(and yes I am verifying that it is not related to the 'pending' process both by 'update pending' and also by doing a free membership)

now to find a 2.2.x to verify this was working somewhere.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Inherited membership bug in 3.0?
December 10, 2009, 08:20:04 pm
And just to confirm that the process of inherited membership IS working for adding contacts back end - it is the process of people joining online which is failing as far as i can tell.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Inherited membership bug in 3.0?
December 13, 2009, 12:06:46 pm
Hmm - so just tested on a 2.2.9 and while the inherited membership is working at the back end, it also doesn't work via the Contribution Page.

Has this always been known or is this something that slipped through the net?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Inherited membership bug in 3.0?
December 13, 2009, 07:11:30 pm
OK,

So this is a permissions issue.

We are looking at a situation where an anonymous user creates a drupal account and fills in a CiviCRM form as part of the account creation process. On the CiviCRM they fill in their current employer and if their current employer has a membership they inherit it.

Unfortunately this only works when anonymous user has drupal permission to access CiviMember. Otherwise the inherited membership is not created. But if we give this access to anonymous user it exposes other pages to anonymous users.

In the particular use case we have they are using drupal to require an administrative approval so the work around is that when the administrator approves them they disable & enable the relationship but it's a bit unwieldly.

It would seem ideal would be to have a separate acl for adding yourself to an existing membership vs seeing all the civimember financials
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Inherited membership bug in 3.0?
December 13, 2009, 07:25:28 pm
Just to add to this - Eileen has pointed out to me that using the inherited membership without some 'approval' process creates a risk since someone could potentially look at a directory of members (if one is published) sign up as am 'employee of' the company and get the membership - and any permissions that might roll from that in terms of Drupal Roles.

Long term we may need to think about having a 'membership approved' checkbox for back end?? and a UI that lets the Contribution Page be set up to require approval of the membership.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: Inherited membership bug in 3.0?
December 17, 2009, 01:37:56 am
I suspect this feature was broken due to wrong variable reference.

code will be part of next release ( v3.0.4, v3.1.beta2 ) both.

would be great if you take a look for patch  and let us know is it working for you.

thanks

kiran
You Are Designed To Choose... Defined By Choice.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Inherited membership bug in 3.0?
January 13, 2010, 06:46:03 pm
Sorry it has taken so long to get back to this but I just tested and in the following case:

-Individual signs up for membership on behalf of an org
-Anonymous user does NOT have access civimember
-Pay later

A pending membership is created for the org but not the individual
The correct relationship is created

When the contribution is confirmed the membership for the individual is not created.

This doesn't appear to be fixed
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Inherited membership bug in 3.0?
January 13, 2010, 06:53:16 pm
Hang fire on that - will just test again
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Inherited membership bug in 3.0?
January 13, 2010, 07:05:14 pm
Works just fine!
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Inherited membership bug in 3.0?

This forum was archived on 2017-11-26.