Closed Bug 285170 Opened 19 years ago Closed 19 years ago

If start and end dates are identical, the views don't show any event

Categories

(Calendar :: Sunbird Only, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 261890

People

(Reporter: chris, Assigned: shaver)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041231 MultiZilla/1.7.0.2b
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041231 MultiZilla/1.7.0.2b

Suppose you already have some events on a given day. No matter whether it is
workday or weekend day.

Now you enter a new event *after* the existing ones (this is important, if you
enter it before the existing events, the bug will not happen): enter Title and
Description, say "Test", "Test". Don't change anything else. Start and end dates
(and times) are thus identical, on the same day same hour. Suppose you don't notice.

Klick "O.K.". 

Bam! All your events for that day are gone!

Not completely. They are still there - in the window "above the day view" (how
is it called? The one with the filter set to "All events"). But they have gone
from the day view! From the week view too!

Go and enter a correct date, whichever date and time after the start date and time.

Whoops! The other events are again there! Your newly entered event is also there!

Reproducible: Always

Steps to Reproduce:
See above.

Actual Results:  
See above.

Expected Results:  
It should display all events, including the "zero length" event.

Best way to solve this is to let the user set the "granularity" of event timing:
what is the least time that the "end date" *must* be away of the start date?

Offer, say, number in minutes. Now if the user chooses "6" there, this means
that the end date must be at least 6 minutes after the start date - and is set
automatically so.

You avoid having to correct this bug this way. ;-) Your end dates will *always*
be some time away of the start dates.

Oh well...you could go and correct this annoying bug too, if you like. I would
be very grateful. :-)
Can this be resolved as a duplicate of bug 261890?
Component: Base → Sunbird and Calendar-Extension Front End
Summary: If start and end dates are identical, the views don't show any event → If start and end dates are identical, the views don't show any event
Yes, that is it, definitely. :oops:

I did search for "start end" and for "zero", but I missed that one, although it
contains "zero" in the summary. I guess it's because "zero" comes near the end
of the sentence, where it is being cut in the search results summary page...

Anyway, sorry for the inconvenience.

*** This bug has been marked as a duplicate of 261890 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
QA Contact: base → sunbird
You need to log in before you can comment on or make changes to this bug.