Bug 280632 - Http(s) ical resource not loaded (with query string)
Summary: Http(s) ical resource not loaded (with query string)
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: ICal file resource (show other bugs)
Version: 4.7
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-23 09:24 UTC by Wouter Haffmans
Modified: 2017-01-07 21:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wouter Haffmans 2011-08-23 09:24:39 UTC
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.
Comment 1 Denis Kurz 2016-09-24 20:38:27 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 21:29:16 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.