Closed (fixed)
Project:
Forum Access
Version:
5.x-1.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
15 Sep 2007 at 21:02 UTC
Updated:
3 Feb 2008 at 22:42 UTC
#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.
| Comment | File | Size | Author |
|---|---|---|---|
| forum_access_array_structure.patch.txt | 724 bytes | Paul Natsuo Kishimoto |
Comments
Comment #1
salvisThank 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?
Comment #2
salvisI'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
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.