Postponed (maintainer needs more info)
Project:
Timefield
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Mar 2012 at 19:44 UTC
Updated:
4 Aug 2013 at 14:06 UTC
Jump to comment: Most recent file
Comments
Comment #1
Mark F commentedAs I went back to the views field formatter options to set it back to "Duration", there was an error which was not there before:
Notice: Undefined index: adjust_time in timefield_field_formatter_settings_form() (line 436 of /var/aegir/platforms/drupal-7.12/sites/sandbox.dev-env/modules/timefield/timefield.module).The chunk of code containing line 436 is:
Apologies but I'm in the VERY early stages of learning PHP. adjust_time is not mentioned anywhere else in the file - does it need to be defined earlier? If so, how? Give me a pointer and I'll make a patch - it'll be a good learning experience for me.
Kind Regards
Mark
Comment #2
wesnick commentedHi @Mark F,
Thanks for the bug report. It seems there are several issues you are reporting. In general, I like to have one item per bug report, so that I can close it when I have fixed it. It is hard to keep track of the progress on an issue if there are several different issues reported in the issue. Let me address these issues 1 by 1:
1. This seems like a views ajax failure, which could be caused by any number of things. I have tried to follow your steps to reproduce and I can't seem to be able to reproduce this bug. I did find several other minor mistakes in code that are just annoyances, but did not cause a WSOD. I have fixed these other things and pushed these changes to dev. I will fix anything that I can reproduce, so if this is still affecting you, by all means, reopen this issue.
2. Yes, adjust_time is a bug. This is a feature I planned to implement, then decided not to, and did not remove the code. I have removed it. The idea of this feature was to adjust the calendar to the range of values in it, so if you only had times between 10AM and 11 AM, then it would adjust to only show this range as upper and lower bound of the calendar. I don't see anyone clamoring for this, so I have removed it. If you think this might be useful, open another issue as a "feature request".
If you are still having trouble with the views part, perhaps the best way to help me troubleshoot it is to export the field configuration and view as a feature and post it here. That way I can try it out with your exact configuration.
Comment #3
alesr commentedI have the same issue as Mark.
I can't set Mini Calendar as formatter, because I get this WSOD. I just need to set up 1hour blocks for display format.
Comment #4
wesnick commentedHi, Thanks for the bug report. Please post a export of your view as an attachment, so I can debug this.
Thanks!
Comment #5
alesr commentedHere is my view export.
Comment #6
attisanhi, same thing here.
If I try to change anything regarding the timefield field and click "apply" it returns the ajax instead.
greets