phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [bug #13201] ical export reverses 'description' a


From: Jan Vilhuber
Subject: [Phpgroupware-tracker] [bug #13201] ical export reverses 'description' and 'title'
Date: Thu, 26 May 2005 20:58:21 +0000
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.8) Gecko/20050427 Camino/0.8.4

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13201>

                 Summary: ical export reverses 'description' and 'title'
                 Project: phpGroupWare
            Submitted by: jvilhuber
            Submitted on: Thu 05/26/2005 at 20:58
              Item Group: 0.9.16.005
                Category: calendar
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
       Component Version: BZIP2
        Platform Version: GNU/Linux - SuSE
         Reproducibility: Every Time
         Planned Release: None
           Fixed Release: 

    _______________________________________________________

Details:

in calendar/inc/class.boicalendar.inc.php, the assignment of fields inside
phpgroupware to the exported data structure are reversed, i.e. thi sis what
there is now in line 3225:

    $string_array = Array(
                  'summary'           => 'description',
                  'location'              => 'location',
                  'description'       => 'title',
                  'uid'           => 'uid'
               );
                                                                             
                                                                  
Title and description are reversed, and should be:

    $string_array = Array(
           'description'           => 'description',
           'location'              => 'location',
           'summary'       => 'title',
           'uid'           => 'uid'
         );
                                                                             
                                                                  
See attached file for a patch.

This was tested using an export via calendar/ical.php to Mac Os X (10.3.9)
iCal. Now the fields display correctly.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 05/26/2005 at 20:58  Name: diff.1  Size: 691B   By: jvilhuber
patch to fix the problem
<http://savannah.gnu.org/bugs/download.php?item_id=13201&item_file_id=2544>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13201>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]