Closed (fixed)
Project:
Flag
Version:
6.x-2.x-dev
Component:
Views integration
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Apr 2011 at 17:20 UTC
Updated:
26 Jul 2015 at 16:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
duellj commentedPatch attached to fix strict warnings
Comment #2
duellj commentedComment #3
TimelessDomain commentedpatch worked for me - thanks.
Comment #4
TimelessDomain commentedNot related to this issue
the exposed filter for "Flags: Flagged" does not have an "-Any-" option so a view w/ this filter can only display flagged or not flagged content (not both). this should be fixedupdate#1: the "-Any-" selection of an exposed filter for "Flags: Flagged" is available when your view the view, but not when you edit the view. therefore you can't set the exposed "Flags: Flagged" filter to "-Any-" by default
update#2: #1126724: -Any- option missing from exposed filter for Flags: Flagged (@duellj - updated accordingly)
Comment #5
duellj commented@TimelessDomain:
Thanks or the review. You should open up a new issue for the problem you listed in #4. This issue is just for strict warnings in flags/views integration.
Comment #6
Anonymous (not verified) commentedPatch works for me as well!
Comment #7
lyricnz commentedWorks for me too.
Comment #8
kolier commentedWorking +1.
Comment #9
cyberwolf commentedSubscribing.
Comment #10
damienmckennaThis resolved the errors for me too.
Comment #11
Ingmar commentedThank you very much!
Comment #12
quicksketchMost of this patch was included in the fix from #1119842: Strict warnings with Views 3.x, but I added the change to flag_handler_field_ops.inc in this patch, since that was not included in the previous patch.
Comment #14
joelpittetDon't know if this needs a backport to 6.x but here is the patch nonetheless.
Comment #15
stewart.adam commentedNote - the 6.x patch above doesn't fix all warnings for options_validate since the signature in Drupal 6 has $form passed by value, not reference.
should read:
Comment #16
rjay commentedThis is an update of the patch from #14, without the modification to the signature of the options_validate method.
Comment #17
joachim commentedThanks!
Committed.