christianwach / civicrm-wp-member-sync

CiviCRM WordPress Member Sync plugin keeps a WordPress user in sync with a CiviCRM membership by granting either a role or capabilities to a WordPress user who has that membership.
https://wordpress.org/plugins/civicrm-wp-member-sync/
GNU General Public License v2.0
17 stars 10 forks source link

Association Rules for method roles returns incorrect error #2

Closed EventConsulting closed 9 years ago

EventConsulting commented 9 years ago

Using CiviCRM 4.5.5. Using CiviCRM Hook Tester (4.5 - version 0.2) wordpress.php - both tried as replacement or custom php directory Using CiviCRM WordPress Member Sync (version 0.2) Using Members (version 0.2.4

When trying to add association role for the "Roles" method for any combination of settings, including:

an existing CiviMember Membership Type, a WordPress Role created by Members, Current Status: New/Current/Grace, Expire Status: Expired/Pending/Cancelled/Deceased and Expiry Role: Subscripber

Always returns an empty "Add Assiation Rule" page (none of the settings remain) with the following error:

Please select a WordPress Role You can not have the same Status Rule registered as both "Current" and "Expired"

Of course, I did select a WordPress Role and I didn't select a satus rule for both "Current" and "Expired".

christianwach commented 9 years ago

@EventConsulting Good catch. Thanks! (I almost never use roles)

Fixed in 42c06cce78294401eef3e803a4074717335006ea

EventConsulting commented 9 years ago

@christianwach Thx for the very quick response! :)