Closed (fixed)
Project:
RedHen CRM
Version:
7.x-1.x-dev
Component:
redhen_org
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Dec 2012 at 00:24 UTC
Updated:
23 Jun 2014 at 23:33 UTC
Jump to comment: Most recent
When exporting a groupified org with settings for the group, those settings are exported as top level properties instead of values instead the data property.
This is what is output now and doesn't work:
...other org type properties...
"group" : 1,
"group_settings" : {
"private" : 1,
"content_types" : {
"event" : "event",
"blog" : "blog",
"page" : "page",
"resource" : "resource",
"webform" : "webform"
}
}
What works:
...other org type properties...
"data" : {
"group" : 1,
"group_settings" : {
"private" : 1,
"content_types" : {
"event" : "event",
"blog" : "blog",
"page" : "page",
"resource" : "resource",
"webform" : "webform"
}
}
}
Comments
Comment #1
levelos commentedComment #2
bleedev commentedUnable to reproduce this issue with the current code.
Comment #3
tauno commentedComment #4
levelos commentedComment #6
dobe commentedI am not sure if my problem pertains to this issue but it is what resembles it the closest. I am using the latest dev version. When I export my Redhen setup as a feature and attempt to install it in a profile I have created. Every time I flush cache I get this
Notice: Undefined property: RedhenOrgType::$data in redhen_org_group_redhen_org_type_update() (line 74 of /sites/all/modules/redhen/modules/redhen_org_group/redhen_org_group.module).I am unclear why we do the following comments surrounded by tag:
Any help would be appreciated. I would suggest:
I'll submit a patch but like I said I am unclear if this will cause issues down the line elsewhere. As I haven't dug deep into this module yet. Thanks for your time!
-Jesse
Comment #7
dobe commentedSorry had to reopen.
Comment #8
levelos commentedSeparate issue Jesse, this one is still closed. If you're still having trouble, please open a separate focused ticket.
Comment #8.0
levelos commentedFixing confusing type