Bug 324116 - to-do list: calendar column displays 'unknown' [instead of the webdav (owncloud <5) calendar name]
Summary: to-do list: calendar column displays 'unknown' [instead of the webdav (ownclo...
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: todoview (show other bugs)
Version: 4.11
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-27 13:07 UTC by Achim Bohnet
Modified: 2013-09-20 20:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.2


Attachments
to-do view with calendar column with 3 column modified, rest old entries displaying 'unknown' instead the calendar name (60.26 KB, image/png)
2013-08-27 13:10 UTC, Achim Bohnet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Achim Bohnet 2013-08-27 13:07:50 UTC
I've added the 'calendar' column to my to-do list view (PIM 4.11).  All calendar column fields show 'unknown'. When I modify or create a to-do item the calendar name is shown correctly, until korganizer is stopped/started again. Then does calendar item have also 'unknown' in the 'calendar' column.

In the 'Edit...' disalog the correct calendar name is shown in the grayed out, aka not changeable, drop-down menu at the top of the dialog.

See attachment: to-do view of a caldav calendar (owncloud < 5).  Name =  Arbeiten
   1st+3st row:  modified to-do items
   2nd: created to-do row: added item
   all other are unchanged to-do items

Reproducible: Always

Steps to Reproduce:
1.  start korganizer
2.  select to-do view  
3.  add column 'calendar' to the list view
Actual Results:  
all calendar fields display 'unknown' [ maybe only for caldav calendars?]

Expected Results:  
display the name of the calendar
Comment 1 Achim Bohnet 2013-08-27 13:10:49 UTC
Created attachment 81966 [details]
to-do view with calendar column with 3 column modified, rest old entries displaying 'unknown' instead the calendar name
Comment 2 Sergio Martins 2013-09-08 00:24:21 UTC
Git commit c257339efeb1488815937dcca15119eba019b8de by Sergio Martins.
Committed on 08/09/2013 at 00:21.
Pushed by smartins into branch 'KDE/4.11'.

Don't return "Unknown" as the calendar name.

That happened because the code wasn't using the complete collection,
which can be retrieved from the ETM.

M  +12   -10   calendarsupport/utils.cpp

http://commits.kde.org/kdepim/c257339efeb1488815937dcca15119eba019b8de