Download & Extend

'Use on Auto Assign Role paths' doesn't work

Project:Auto Assign Role
Version:6.x-1.2
Component:Code
Category:bug report
Priority:major
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

If you use content_profile module the option 'Use on Auto Assign Role paths' doesn't work.
It just doesn't save settings.

I fixed it:
autoassignrole.module line 478

<?php
if (empty($autoassignrole)) {
   
$autoassignrole['values'] = array_keys(user_roles((TRUE)));
  }
?>

changed to

<?php
if (empty($autoassignrole)) {
   
$autoassignrole['autoassignrole_use'] = array_keys(user_roles((TRUE)));
  }
?>

Comments

#1

Thanks! It works :)

#2

Status:needs review» needs work

This isn't a patch

#3

Status:needs work» closed (duplicate)

#755308: Content profile settings are not saved

#4

Version:6.x-1.2» 6.x-2.0-beta1
Status:closed (duplicate)» active

Hi all,

I think my settings under 'Use on Auto Assign Role paths' aren't saved. I have two AAR paths, where i want to display an upload box on one of the registration forms. I marked 'Use on Auto Assign Role paths' in my Content Profile settings, but when i check my registration form, i don't see the upload box. Where are the values of 'Use on Auto Assign Role paths' saved in the database? So i can check.

The patch above is allready in my version, 6.x-2.0-beta1.

Note: I'm also using LoginToboggan.

See also this issue: http://drupal.org/node/1038880

Can someone help me?

Thanks,
Gunther

#5

Version:6.x-2.0-beta1» 6.x-1.2
Status:active» closed (duplicate)

Please follow this up in #1038880: Filefield upload not displayed on registration form, using "Auto Assign Role paths"

#6

Julia !
YOU ARE THE BEST, thank you so much :-)

nobody click here