Closed (fixed)
Project:
Open Atrium
Version:
7.x-2.21
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Aug 2014 at 11:58 UTC
Updated:
19 Jan 2015 at 15:15 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jkingsnorth commentedHi I've been trying to recreate this error but I haven't been able to.
If someone can come up with the exact steps required to recreate the issue (and perhaps an export of the view that is causing it) then we can take a closer look at what's going on =]
Comment #2
mpotter commentedPlease reopen this issue with steps to reproduce it if it still happens in v2.23.
Comment #3
wodzik commentedI have the same in v2.23.
Errors:
view:
Comment #4
wodzik commentedComment #5
mpotter commentedNot exactly sure the logic here. There are 2 conditionals in the first "if". One checks the $id, the other checks an auto option. I think it needs to be broken into 2 separate if statements.
Added a patch here. Please let me know if it fixes the warnings, but also if it has any bad effect on the operation of the exposed filters.
Comment #6
mpotter commentedComment #7
wodzik commentedafter patch:
Comment #8
wodzik commentedComment #9
mpotter commentedAre you sure you applied the patch correctly? There is no way for $id to be undefined on line 16. It's defined on line 14 and the test on line 13 ensures it exists.
Comment #10
mpotter commentedCommitted this patch to the -dev of oa_core.
Comment #12
m0nst4 commentedHello, im kinda new to oa and drupal aswell
ive got a similar problem, ive imported some data as a new contenttype with a field that contains the parent space.
Now i want to show these items in a view. With parents-filter i got no result. if i use Groups-audience it does perfectly what i want but i get 5 times Undefined variable: id in oa_core_og_group_ref_views_handler_filter_in_operator->init() in 16,24,30,35,45.
For every little help or idea i would be very thankful :)