Hello,

I've been using this great module for some time now. Today I updated a few modules and it all the sudden stopped working. You can see the roles during registration, etc. but they don't get applied.

The modules I updated are forward, service_links, textimage, webform, and workflow_ng. My money is on something in workflow_ng but I haven't had time to debug. Just wanted to see if anyone had any ideas...

Thanks!

Comments

Chad_Dupuis’s picture

After debugging, this module doesn't appear to work with workflow-ng 5.x-2.2 (2.1 is fine). Not sure whether the workflow module needs to be changed or this one - but I've put cases in both queues....

johnhanley’s picture

Can you tell me if the role selections are applied correctly when editing a user's account page?

Chad_Dupuis’s picture

I had to degrade workflow as this was a live site, but I seem to remember the drop down list being there but it having no effect within the user panel... If you cannot replicate, I would be happy to upgrade the workflow-ng on a dev site and test it out for you to be more exact....

johnhanley’s picture

Yeah, any additional info would be helpful--thanks.

I'm not familiar with the newest version of workflow-ng, but I suspect user-selectable roles is saving the role selections at registration and then workflow-ng is overwriting them. Or maybe workflow-ng is somehow preventing hook_user() in other modules from executing.

johnhanley’s picture

Status: Fixed » Active

Chad,

Check out the latest Drupal 5 release of User-Selectable Roles. I believe the aforementioned registration related bug has been solved. I revised and simplified the logic of how the role selections are saved, which also happens to be more Drupal-compliant.

Anyway, try using the latest version of workflow-ng and let me know if the problem is now resolved.

Thanks,
John

Chad_Dupuis’s picture

Status: Active » Fixed

Hello John,

I just upgraded to the latest version and the 2.2 of workflow-ng and everything appears to be fine. Thanks for the quick fix!

johnhanley’s picture

Assigned: Unassigned » johnhanley
Status: Active » Closed (fixed)

Thanks for letting me know!