Under "administer >> settings >> automember" the option for setting a "Max number of users in target role" claims that "If you do not wish to limit the number of members in the target role, enter -1." However, if this value is given to the module it complains "There are no vacancies at this time."
Temporary Workaround: Set this value to a number equal to or higher than the number of users in the source role.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | automember_invite_debug.patch | 1.09 KB | njivy |
Comments
Comment #1
njivy commentedI updated CVS with a small tweak that should solve your problem. You saw the message on the invitation page, not in the log, right?
Comment #2
grohk commentedSorry, yes njivy, this was on the Invite page. I upgraded to the newest CVS 4.5 version 1.14.2.8 but I seem to be still seeing the "There are no vacancies at this time." message. I will wait a bit until after the cron run and see if it persists.
Comment #3
grohk commentedWeird...the problem persists. I think we should reopen.
Comment #4
grohk commentedI think I noticed something interesting. The error message is not the one near line 875 which reads: "There are no vacancies. Please check again later." The Invite members page is saying "There are no vacancies at this time." which appears near line 1011.
Comment #5
njivy commentedExcellent. I mean, that's a good hint. ;] Let the hunt begin ....
Comment #6
njivy commentedI cannot reproduce the problem. Would you try this debugging patch and tell me what appears in the 'special' log? You can write to me at nji@njivy.org if you would like to pursue this out-of-channel.
Comment #7
njivy commentedI should have gone to bed and looked at it with fresh eyes. The problem was an incorrect logic construct. It should be: ($max_members < 0) || (count($in_target) < $max_members). I updated the DRUPAL-4-5 edition in CVS.
Thanks for your patience, grohk.
Comment #8
grohk commentedThank you njivy!