https://bugs.kde.org/show_bug.cgi?id=280632

           Summary: Http(s) ical resource not loaded (with query string)
           Product: Akonadi
           Version: 4.7
          Platform: Archlinux Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: ICal file resource
        AssignedTo: kdepim-bugs@kde.org
        ReportedBy: chee...@simply-life.net


Version:           4.7 (using KDE 4.7.0) 
OS:                Linux

I want to import a calendar for Redmine issues using Redmics
(http://code.google.com/p/redmics/). This plugin generates URLs of the
following form:

https://server/redmine/i_calendar?assigned_to=%2A&format=atom&key=123456789etc&project_id=project&status=all

I add this URL using the  ICal Calendar File agent to Akonadi. When trying to
refresh its folder, I get the following error:

AkonadiAgentServer(17805): Error loading file 
"/var/tmp/kdecache-user/akonadi/akonadi_ical_resource_1"

Inspecting the file shows a plain HTML file of Redmine's login page, instead of
the ICS file. Using wget to fetch the URL, I do get the proper ICal file
(without having to enter any credentials).

It seems to me that Akonadi does not load the file properly, perhaps because of
the (extensive) query string in the URL. I don't know how to find out the exact
request Akonadi makes to get more information.

Reproducible: Always

Steps to Reproduce:
1. Add ICal File agent to Redmics export of issues
2. Try to refresh folder

Actual Results:  
No events are loaded, console shows error loading cached file.

Expected Results:  
Event items are loaded properly, the cached file
/var/tmp/kdecache-user/akonadi/akonadi_ical_resource_1 shows the proper ICS
file instead of the Redmine login page.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to