Closed (fixed)
Project:
Date Facets
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Aug 2013 at 14:12 UTC
Updated:
9 Nov 2013 at 15:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
maximpodorov commentedThis patch fixes the problem for me:
Comment #2
muschpusch commentedyep works!
Comment #3
muschpusch commentedok i was to quick... the fatal error is gone but no label is shown when adding custom facet ranges...
Comment #4
maximpodorov commentedBut labels for the standard ranges are shown.
Comment #5
bennos commentedcan confirm #3 and #4.
error is away, but labels of new added individual timeframes are not shown.
Comment #6
eugene.ilyin commentedHello.
I used this variant (7.x-1.x-dev)
and search_api 7.x-1.7. Problem is not reproduced when I enabled new facet (created or changed).
P.S. I did changes in this line according to this issue https://drupal.org/node/2016601
Comment #7
boabjohn commentedSorry I might be off the rails here, but I'm still getting the error. My lines look like this:
which is a combination of the original patch at #1 with the variant at #6...
What should I be doing?
(title updated for better relevance)
Using search_api 7.x-1.7
Comment #8
boabjohn commentedHi guys,
The variant at #6 still produced the same error.
The pair of lines from #1 is working (for us):
If more information is needed I'm happy to provide more details.
For now we have simply stopped using the module.
Comment #9
jantoine commentedAfter investigating I found that this module does not yet support custom date ranges, even though it will let you create them. This is where most the errors seem to be coming from. I was able to clear up all errors by downloading the dev version of this module, applying the fix found in #1 and by restoring the default date ranges.
Comment #10
jantoine commentedHere is a patch file with the fix from #1. After investigating the Search API module's code, 'map callback' also seems to work. Since I am not sure which one is correct, this most likely still needs some work.
Comment #11
eugene.ilyin commentedHello. Sorry for delay.
Thanks all for your suggestions, but how I can reproduce this bug? I enabled facet by field "changed" and for me all works fine http://i.imgur.com/0H7nmIj.png
Comment #12
eugene.ilyin commentedI found way for reproduce this problem. You should unset all checkboxes of sorting http://i.imgur.com/q8AuTDo.png and save facet form. After that I got error on search results page:
You should apply patch from #10 and submit you facet edit form again.
Commited a04658a