Download & Extend

illegal offset type error

Project:Date
Version:7.x-2.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

When people want to post an event and they forget to also alter the end date's date (and not just the end time) they get the folowing error. Probably because the end date is before the begin date.
It would be really great if the end date would automatically change to the begin date in these cases or otherwise show a clear error like "the end date is earlier than the begin date."

AttachmentSizeStatusTest resultOperations
Screen Shot 2012-02-16 at 21.22.52.png233.85 KBIgnored: Check issue status.NoneNone

Comments

#1

Status:active» postponed (maintainer needs more info)

I am unable to replicate this error. There is validation already that checks if the end date is greater than the start date. And there is javascript to adjust the end date automatically in select lists until they touch the end date (after that it's not safe to keep changing it).

Make sure you're testing on the latest dev releases of everything. If you still see a problem there I need to know how to reproduce this on a fresh install -- what kind of field, what settings, what values, what is being entered into the field, etc.

#2

Version:7.x-2.0-rc2» 7.x-2.x-dev

Nice, after an update I get the following, very clear warning:

The End date must be greater than the Start date.

Great work (not sarcastic).

#3

Status:postponed (maintainer needs more info)» fixed

Good, I think...
When I first read #2, I thought you were being sarcastic, complaining the update resulted in a new error.
But after reading the OP a few times, I think I got the wrong impression, and that the warning is actually what you wanted.

#4

That really wasn't my intension. I updated the text a little bit.

#5

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here