Closed Bug 268451 Opened 20 years ago Closed 19 years ago

Importing recurring events with COUNT definition causes 'Forever' radio button to also be selected.

Categories

(Calendar :: Sunbird Only, defect)

x86
All
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 287393

People

(Reporter: m-bower, Assigned: mostafah)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1

When I import an ics file that contains the text:
RRULE
 :FREQ=MONTHLY;COUNT=33;INTERVAL=1
That even when opened using the UI, show the recurrance settings as both
FOREVER and with a COUNT value of 33.

Sunbird 0.2a and Mozilla Calendar 20041104-cal
XP Pro SP1

Full ics file:
BEGIN:VCALENDAR
VERSION
 :2.0
PRODID
 :-//Mozilla.org/NONSGML Mozilla Calendar V1.0//EN
METHOD
 :PUBLISH
BEGIN:VEVENT
UID
 :4799a44a-31bf-11d9-8b6a-9ca6c67bd8b9
SUMMARY
 :TEST
LOCATION
 :Meritor Academy NA
CATEGORIES
 :Meritor NA - PAC
STATUS
 :TENTATIVE
CLASS
 :PUBLIC
X-MOZILLA-RECUR-DEFAULT-UNITS
 :months
RRULE
 :FREQ=MONTHLY;COUNT=33;INTERVAL=1
DTSTART
 ;VALUE=DATE
 :20050310
DTEND
 ;VALUE=DATE
 :20050311
DTSTAMP
 :20041108T194919Z
LAST-MODIFIED
 :20041108T201306Z
BEGIN:VALARM
TRIGGER
 ;VALUE=DURATION
 :-PT15M
END:VALARM
END:VEVENT
END:VCALENDAR


Reproducible: Always
Steps to Reproduce:
1. Create a new event in Sunbird (or calander) with a recurrent setting of
Monthly with a count = x (say 33).
2. Select and export that event from sunbird to a ics file.
3. Delete event from sunbird (just to make sure it is cleaned up)
4. Import that same event from the saves ics file.
5. Open evnet in Sunbird a view the recurrance settings.  Both FOREVER and COUNT
are set.



Expected Results:  
In this case, the COunt radio button should eb selected and NOT the FOREVER
radio button.
*** Bug 268456 has been marked as a duplicate of this bug. ***
oops.. sorry it looks like I submitted it twice some how. Sorry!
I can confirm this with calendar 2005011113 (firefox/linux).  When an event is
imported with an RRULE defined by COUNT, both the 'Forever' and 'Number of
times' radio buttons appear checked in the recurrance tab of the event dialog. 
This happens regardless of whether the event repeats weekly, monthly, or yearly.
 However, the event appears in the actual calendar view the appropriate number
of times.  I suspect this is just a minor UI issue, but I couldn't pinpoint the
problem.  The .ics file quoted in the report works as a testcase, or I can
attach a simplified one if anyone requires.

STATUS: NEW

Reporter (or someone with sufficient priviledges) please change the following:
OS: All
SEVERITY: Minor
SUMMARY: Importing recurring events with COUNT definition causes forever radio
button to also be selected.
COMPONENT: Front End
Status: UNCONFIRMED → NEW
Ever confirmed: true
Making changes listed in comment #3.

Previous summary was:
RRULE with COUNT function set the Evnet with both A COUNT and FOREVER options
Severity: normal → minor
Component: libxpical → Sunbird and Calendar-Extension Front End
OS: Windows XP → All
Summary: RRULE with COUNT function set the Evnet with both A COUNT and FOREVER options → Importing recurring events with COUNT definition causes 'Forever' radio button to also be selected.

*** This bug has been marked as a duplicate of 287393 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
The bugspam monkeys have been set free and are feeding on Calendar :: Sunbird Only. Be afraid for your sanity!
QA Contact: gurganbl → sunbird
You need to log in before you can comment on or make changes to this bug.