Closed (fixed)
Project:
Calendar
Version:
6.x-2.4
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2011 at 13:45 UTC
Updated:
1 Feb 2011 at 15:49 UTC
Hi,
I am setting up Calendar. I've got the calendar to load, I can create events, however they will not show in the calendar. Any ideas why?
Comments
Comment #1
arlinsandbulte commentedNo, no idea why. There is not enough information here to do anything with.
Did you edit the calendar view?
See the example screencast: http://vimeo.com/6544779
Comment #2
jm.federico commentedI'm having same problem, found a casue, will try to explain:
In the theme.inc, line 125, this happens:
WHat that does is, it checks which date fields are present for the result that is being evaluated. It does it by comparing agains the alias of the field used in the view. That breaks when the alias for the field is longer than 19 characters.
Check the query that my views run:
The field alias is node_data_field_vencimiento_alerta_field_vencimiento_alerta_ which is compared against node_data_field_vencimiento_alerta_field_vencimiento_alerta_value, it is not the same, hence, the above code finds no fields for the given result, hence nothing is shown in the view.
I'm marking this as critical as it break functionality and is really hard to find the problem since it gives no error.
Comment #3
jm.federico commentedForgot to change status.
Comment #4
hnln commentedsame problem here (using views 3.x, probably related to http://drupal.org/node/1038486).
When I run the query generated by views I get the correct result, but calendar_build_nodes returns empty cause $item->calendar_fields is empty (as explained in issue #2).
Comment #5
jm.federico commentedMarking as dup of #1038486: Alias truncation in Views 3 breaking calendar field detection
Comment #6
Meeker commentedI have now solved the problem. Its related to languages. The event item was language neutral, but I had a filter to show only English. Thanks for everyones help.