Warn user if occurrences of a repeating event overlap / if a occurrence starts before the previous one ends

Assigned to


12 years ago
8 months ago


(Reporter: andreas.treumann, Assigned: zulfa2all, Mentored)



(Whiteboard: [good first bug][lang=js])



12 years ago
- create an event form 09/01/06 10:00, to 09/05/06 11:00
- and create for this event this recurrence: daily, repeat until 09/05/06

The result are recurring events from 09/01/06 to 09/09/06, starting with one event on the first day, two at the second day at the same time, and so on. After 09/05/06 the count of events descend.

Comment 1

11 years ago
While a possible use case does not jump to my mind immediately, I don't think we should prevent it from happening.
We could solve this by warning the user if the second occurrence starts before the first one ends. The user may choose to ignore the warning, but doesn't have to.
Component: General → Dialogs
QA Contact: general → dialogs
Whiteboard: [good first bug][mentor=Fallen][lang=js]

Comment 3

6 years ago
Hello. I'm new here and I would like to ask if this bug is still unassigned? Can I work on this bug?
Hi, feel free to work on this bug. If you are also from NUS, I suggest talking to your colleagues on how to get calendar running, the first guide is here: https://developer.mozilla.org/En/Simple_Thunderbird_build

Before fixing this bug, I might have another bug for you that will clearly aid in fixing this one. Right now we have no means other than a popup alert to show that there is an error. What would be great is to use a XUL notificationbox element where the error messages can be collected.

With that in place, fixing this bug is just a matter of checking for changes to the date fields and the recurrence rule and then adding an error message to the notificationbox.

How does this sound to you?
Assignee: nobody → hoangphuoc25

Comment 5

6 years ago
Thank for your guide. I will try do it.
Hardware: x86 → All
Summary: apply daily recurrance on a 'multi day' event shouldn't possible → Warn user if occurrences of a repeating event overlap / if a occurrence starts before the previous one ends

Comment 6

6 years ago
I have set up the developing environment and I built Thunderbird with Lightning. 
Can you give me some advice on where to start? I am looking at this file http://mxr.mozilla.org/comm-central/source/calendar/base/content/dialogs/calendar-event-dialog-recurrence.xul. Can you give me some specific advice on how to fix this bug?


6 years ago
Duplicate of this bug: 487228

Comment 8

6 years ago
Philipp, could you provide some guidance here?
Flags: needinfo?(philipp)
Josh, I had been conversing with the assignee via email and irc, but I haven't heard from him in a long time.

Truong Hoang Phuoc, can you confirm that you're still working on this bug?
Flags: needinfo?(philipp) → needinfo?(hoangphuoc25)
Assignee: hoangphuoc25 → nobody
Flags: needinfo?(hoangphuoc25)

Comment 10

5 years ago
Hi Philipp

I would like to be assigned to this bug, If is unassigned, i am new here and this would be a first good bug for me to tackle.
Assignee: nobody → zulfa2all
Hi Zulfa,

thanks for tackling this bug. Please see comment 4 on how to get started. The notificationbox part has now been implemented, so all you have to do is use it.

If you need further help, pleases check on irc.mozilla.org. If you have a build error, please check #maildev or #build. If you have an error related to Lightning, please check #calendar. My nickname is "Fallen".
Mentor: philipp
Whiteboard: [good first bug][mentor=Fallen][lang=js] → [good first bug][lang=js]
You need to log in before you can comment on or make changes to this bug.