Closed (fixed)
Project:
Organic Groups Blueprints
Version:
5.x-1.0-alpha5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
13 Jun 2008 at 17:21 UTC
Updated:
29 Sep 2008 at 19:32 UTC
But then when I go to create an organic group, after creation I get this message:
warning: array_values() [function.array-values]: The argument should be an array in xxxxxx/public_html/modules/og_blueprints/og_blueprints.module on line 353.
The created group does not have any of the panels or layout specified in the blueprint.
Comments
Comment #1
sdboyer commentedYeah, this is the product of a small coding shortcut I took that fails to account for the possibility that, as you've said here, no panels or layouts are specified. I'll fix this for alpha6.
Comment #2
sejtraav commentedWhen can we expect alpha6 to be released?
Comment #3
sdboyer commentedPretty much all my other drupal work is deprioritized at the moment in favor of a major project and getting Panels2 to RC1, so it's unlikely I'll get to this for a week or so, at least.
The fix is relatively simple, if you want to patch it in yourself for the moment (and post the patch here) - line 353 simply needs to be broken up so that a check is run to ensure that the db_fetch_array() has gotten an array from the query object before moving along to perform operations on it.
Comment #4
sejtraav commentedAre you able to guide me through making this patch?
I have very very little experience with this kind of stuff! :)
Comment #5
sejtraav commentedJust wondering if you've been able to patch this yet? If you can give me the steps on what needs to be done, I'll try to do it if you haven't yet.
Comment #6
analogious commentedsubscribing.
Comment #7
analogious commentedAccidentally modified the topic. Setting it back.
Comment #8
sdboyer commentedI do believe this is now fixed in -dev. We'll find out, b/c I'm about to roll a release...
Comment #9
sdboyer commentedComment #10
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.