Setting up the blueprint, bundle and release works just fine

kernphilip - June 13, 2008 - 17:21
Project:Organic Groups Blueprints
Version:5.x-1.0-alpha5
Component:Code
Category:bug report
Priority:normal
Assigned:sdboyer
Status:closed
Description

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.

#1

sdboyer - June 13, 2008 - 18:07
Assigned to:Anonymous» sdboyer

Yeah, 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.

#2

sejtraav - June 22, 2008 - 06:08

When can we expect alpha6 to be released?

#3

sdboyer - June 22, 2008 - 22:40

Pretty 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.

#4

sejtraav - July 4, 2008 - 23:39

Are you able to guide me through making this patch?
I have very very little experience with this kind of stuff! :)

#5

sejtraav - July 26, 2008 - 06:00

Just 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.

#6

webno - August 25, 2008 - 08:28
Title:Setting up the blueprint, bundle and release works just fine» subscribing

subscribing.

#7

webno - August 25, 2008 - 08:30
Title:subscribing» Setting up the blueprint, bundle and release works just fine

Accidentally modified the topic. Setting it back.

#8

sdboyer - September 15, 2008 - 19:25

I do believe this is now fixed in -dev. We'll find out, b/c I'm about to roll a release...

#9

sdboyer - September 15, 2008 - 19:26
Status:active» fixed

#10

Anonymous (not verified) - September 29, 2008 - 19:32
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.