Version: (using KDE 4.2.3) Installed from: Ubuntu Packages Running konsolekalendar without the --allow-gui option removes the Kaddressbook resource from the Korganizer configuration. I am filing against Korganizer as it is the affected application. Steps to reproduce: 1) Add kaddressbook resource to Korganizer, so that birthdays and anniversaries appear in calendar 2) Run this command: $ konsolekalendar --show-next 7 --export-type html --export-file /tmp/calendar.html 3) Check to see if Kaddressbook resource has been disabled
Akonadi resource is gone too
Do you still have trunk where you can test things? Index: console/konsolekalendar/stdcalendar.cpp =================================================================== --- console/konsolekalendar/stdcalendar.cpp (revision 965416) +++ console/konsolekalendar/stdcalendar.cpp (working copy) @@ -78,7 +78,7 @@ (*it)->type() == QLatin1String( "localdir" ) ) { (*it)->load(); } else { - mManager->remove( *it ); + mManager->setActive( *it, false ); } } }
I don't have Trunk, Sergio, this is a production machine.
SVN commit 975509 by winterz: Do not remove resources, just load them. Thanks Sergio for providing the fix. BUG: 192977 M +2 -4 stdcalendar.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=975509
Thanks!