#169892 turned out to be an issue with forum_access. In pruning the contents of $form['taxonomy'][...]['#options'], forum_access_node_form() was replacing stdClass objects with strings. The unexpected change was causing og_forum to misbehave.

The attached patch preserves the stdClass objects (hopefully) without affecting the pruning.

Comments

salvis’s picture

Thank you for your patch. Sorry for the long delay — I've only just received the maintenance of FA.

Can you give me a test case that lets me see the beneficial effect of your patch, preferably without involving OG Forum?

salvis’s picture

Status: Needs review » Fixed

I've finally looked into this and yes, you're right, FA disturbs the structure (and it also drops the '- Please choose -' item).

Rather than removing $sub_tid's and checking whether anything is left, I chose to fix the original code and add copying the '- Please choose -' item.

http://drupal.org/cvs?commit=96627

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.