bugphpGroupWare - Bugs: bug #13206, RRULE line assembled incorrectly

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #13206: RRULE line assembled incorrectly

Submitted by:  Jan Vilhuber <jvilhuber>
Submitted on:  Fri 27 May 2005 04:24:17 AM UTC  
 
Item Group: 0.9.16.005Category: calendar
Severity: 3 - NormalPriority: 5 - Normal
Status: FixedPrivacy: Public
Assigned to: Dave Hall <skwashd>Open/Closed: Closed
Component Version: BZIP2Operating System: GNU/Linux - SuSE
Reproducibility: Every TimePlanned Release: None
Fixed Release: 

Wed 07 Dec 2005 01:59:03 PM UTC, comment #1:

This is now fixed in stable CVS, please update to grab the fix

Dave Hall <skwashd>
Project AdministratorIn charge of this item.
Fri 27 May 2005 04:24:17 AM UTC, original submission:

I'm not sure if the rfc says anything useful about for the format of the RRULE line, but iCal (Mac OS X 10.3.9) will not accept the ones assembled by phpgroupware. It assembles them in alphabetical order as follows:

RRULE:BYDAY=MO,TU,WE,TH,FR;FREQ=WEEKLY

But as far as I can tell, iCal requires the FREQ to come first, as such:

RRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR

I'm not 100% sure about the INTERVAL part of this line, as I can't get phpgroupware to output it. It appears in the debugs, but never in the output. I'll make that a separate bug report, however.

To solve this, I moved the freq and interval section in the array
parameter in the function boicalendar() to the top. As long as it's before any of the 'by..' recur-types, it should be fine.

Jan Vilhuber <jvilhuber>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 07 Dec 2005 01:59:03 PM UTCskwashdStatusNone=>Fixed
  Assigned toNone=>skwashd
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1