<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>118082</bug_id>
          
          <creation_ts>2005-12-10 19:31:50 +0000</creation_ts>
          <short_desc>Templates cannot be applied to To-Dos</short_desc>
          <delta_ts>2006-10-25 01:59:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>korganizer</product>
          <component>general</component>
          <version>3.5</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>steve</reporter>
          <assigned_to name="Reinhold Kainhofer">reinhold</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>20</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>397353</commentid>
    <comment_count>0</comment_count>
    <who name="">steve</who>
    <bug_when>2005-12-10 19:31:50 +0000</bug_when>
    <thetext>Version:           3.5 (using KDE 3.5.0 Level &quot;a&quot; , SUSE 10.0 UNSUPPORTED)
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.13-15-smp

When making to-dos, you cannot apply a template to them. It appears when you click the Apply Template button, it checks the wrong path.
/home/user/.kde/share/apps/korganizer/templates/Todo is the correct path. But it checks /ToDo.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>397584</commentid>
    <comment_count>1</comment_count>
    <who name="Philip Rodrigues">phil</who>
    <bug_when>2005-12-11 18:54:41 +0000</bug_when>
    <thetext>Confirmed here. I assume the fix is (compiling and testing now):

Index: kotodoeditor.h
===================================================================
--- kotodoeditor.h      (revision 486680)
+++ kotodoeditor.h      (working copy)
@@ -95,7 +95,7 @@
   protected:
     void loadTemplate( /*const*/ CalendarLocal&amp; );
     QStringList&amp; templates() const;
-    QString type() { return &quot;ToDo&quot;; }
+    QString type() { return &quot;Todo&quot;; }
     void setupGeneral();
     void setupRecurrence();
     int msgItemDelete();
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>397648</commentid>
    <comment_count>2</comment_count>
    <who name="Philip Rodrigues">phil</who>
    <bug_when>2005-12-11 22:31:52 +0000</bug_when>
    <thetext>Hrm, that patch doesn&apos;t seem to do anything. I guess someone with a clue will have to take a look :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>397667</commentid>
    <comment_count>3</comment_count>
    <who name="">steve</who>
    <bug_when>2005-12-11 23:24:26 +0000</bug_when>
    <thetext>It could also be saving to the wrong place, but that would mean it is reading the wrong place too, to show the template lists. Shouldn&apos;t there be a single function for finding this folder, whether it is reading, writing or whatever?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>479635</commentid>
    <comment_count>4</comment_count>
    <who name="Allen Winter">winter</who>
    <bug_when>2006-10-25 01:59:58 +0000</bug_when>
    <thetext>SVN commit 598910 by winterz:

Fix so you can actually use to-do templates after you create them.
Phil: your fix does work. perhaps you forgot to click the [apply templates] button?

BUGS: 118082



 M  +1 -1      kotodoeditor.h  


--- branches/KDE/3.5/kdepim/korganizer/kotodoeditor.h #598909:598910
@@ -95,7 +95,7 @@
   protected:
     void loadTemplate( /*const*/ CalendarLocal&amp; );
     QStringList&amp; templates() const;
-    QString type() { return &quot;ToDo&quot;; }
+    QString type() { return &quot;Todo&quot;; }
     void setupGeneral();
     void setupRecurrence();
     int msgItemDelete();
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>