| Summary: | only first anniversary of contacts shown in korganizer | ||
|---|---|---|---|
| Product: | [Unmaintained] kresources | Reporter: | Harald Frießnegger <farengi> |
| Component: | birthdays | Assignee: | kdepim bugs <pim-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Harald Frießnegger
2005-06-04 17:27:31 UTC
i think this should fix it
Index: resourcekabc.cpp
===================================================================
--- resourcekabc.cpp (revision 546339)
+++ resourcekabc.cpp (working copy)
@@ -270,7 +270,7 @@
}
Event *ev = new Event();
- ev->setUid( (*it).uid()+"_KABC_Anniversary");
+ ev->setUid( uid_1+"_KABC_Anniversary" );
ev->setDtStart(anniversary);
ev->setDtEnd(anniversary);
@@ -281,7 +281,7 @@
ev->setCustomProperty( "KABC", "BIRTHDAY", "YES" );
- ev->setCustomProperty( "KABC", "UID-1", (*it).uid() );
+ ev->setCustomProperty( "KABC", "UID-1", uid_1 );
ev->setCustomProperty( "KABC", "NAME-1", name_1 );
ev->setCustomProperty( "KABC", "EMAIL-1", email_1 );
ev->setCustomProperty( "KABC", "ANNIVERSARY", "YES" );
The problem still exists in KOrganizer 3.5.3 as shipped with the openSUSE version of KDE 3.5.4 Level "a" Reassigning all KOrganizer bug reports and wishes to the newly created korganizer-devel mailing list. SVN commit 603070 by schaarsc:
show anniversaries of all contacts in korganizer
CCBUG: 106782
M +2 -2 branches/work/kdepim-3.5.5+/kresources/birthdays/resourcekabc.cpp
--- branches/work/kdepim-3.5.5+/kresources/birthdays/resourcekabc.cpp #603069:603070
@@ -270,7 +270,7 @@
}
Event *ev = new Event();
- ev->setUid( (*it).uid()+"_KABC_Anniversary");
+ ev->setUid( uid_1+"_KABC_Anniversary" );
ev->setDtStart(anniversary);
ev->setDtEnd(anniversary);
@@ -281,7 +281,7 @@
ev->setCustomProperty( "KABC", "BIRTHDAY", "YES" );
- ev->setCustomProperty( "KABC", "UID-1", (*it).uid() );
+ ev->setCustomProperty( "KABC", "UID-1", uid_1 );
ev->setCustomProperty( "KABC", "NAME-1", name_1 );
ev->setCustomProperty( "KABC", "EMAIL-1", email_1 );
ev->setCustomProperty( "KABC", "ANNIVERSARY", "YES" );
commited to trunk (revision 605947) commited to branch/3.5 (revision 605983) |