Using latest versions of AF, FA, and D6 (pressflow). Currently I am only able to ad one Moderator under the "Moderators" section of FA settings on a forum. My work flow is this:

1) Type in username

2) Click Add User

3) Hit Submit

4) Type in next username

5) Click Add User

At this point after clicking add user the previous moderator is deleted (I never clicked any check box) and is replaced by the second moderator I just added. Ideas?

Comments

salvis’s picture

Assigned: Media Crumb » Unassigned

3) Hit Submit

There is no Submit.

I have no problem adding multiple users whether I click Save in between or just add them one after the other and click Save after I'm done.

(Don't assign yourself unless you intend to work on an issue.)

Media Crumb’s picture

Submit is the same as "Save" but I have the wording changed to submit on my site via a rewrite. The process still is the same and I still can only add 1 person. Each time I try to add more the previous one is over written.

Sorry about the assign to. Had no idea what that meant.

salvis’s picture

Status: Active » Postponed (maintainer needs more info)

I don't really know what to do. If you install a virgin Drupal with just Forum and Forum Access, you'll see that this works just fine.

It's unlikely that Advanced Forum would cause this problem, but I have no idea what pressflow is...

Media Crumb’s picture

http://pressflow.org/

It's core with the addition of some "boost" like settings for sites with heavy traffic. It works for things like Varnish, Mem, and the like. It doesn't really change the core of drupal and shouldn't affect the mod itself.

I'm just at a loss for how to try and track this bug since I'm not familiar with how it adds mods. Obviously it isn't working as intended so I'm looking to see if it has something to do with how it loads the page prior to save or if anyone else has had similar issues.

salvis’s picture

It doesn't really change the core of drupal and shouldn't affect the mod itself.

That sounds good.

I'd suggest the following course of action:

1. Temporarily disable AF and check whether this makes a difference, just to be really sure.

2. Install a local test site with plain Drupal and FA and check.

3. If #2 works as expected, then talk to the Pressflow maintainers about the quoted promise.

I could imagine that aggressive caching might cause the issue that you describe. If that's the case, then I'd need the Pressflow maintainers to tell me how to get it to work under their distribution (and keep it compatible with vanilla Drupal, of course!).

If we need to make any changes in FA, the D7 version needs to go first though!

Media Crumb’s picture

The Disable works fine so it's not #1 and Drupal + FA work as expected. It's unlikely the fault is of pressflows since no changes really affect core. I suppose it could be a memcache or apc issue though.

Can I ask how it is adding people to the page when you press Add user? Is it an AJAX call?

Also I suppose I can make an entry in the DB. Where on the table would I go to just enter it manually in phpMyadmin

Media Crumb’s picture

Any insight on my questions above. Still trying to figure this bug out. Thanks so much!

salvis’s picture

Sorry for the delay, I've been sick in bed.

No, there's no AJAX involved. The moderators subform is defined in acl.admin.inc. It is designed to be embedded in a parent form defined by a client module (such as FA) of ACL. The Add and Remove buttons have #submit = FALSE. They just cause a reload of the form with the updated moderator list.

I'm not sure why merlinofchaos has implemented it that way but I think it has to do with ACL being able to find its subform, and possibly even supporting multiple subforms on the same parent form.

Media Crumb’s picture

Thanks for the info but I'm basically pulling my hair out at this point trying to fix it. I've removed almost every mod from the install and I still can only add 1 mod to each forum. Every attempt at adding another results in the last moderator being removed form the list and replaced. This seems to be almost impossible to debug. :\

salvis’s picture

It must be the caching. Have you tried getting help from the pressflow people?

salvis’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)