[Kde-pim] Re: Old Akonadi Server Config

Kevin Krammer kevin.krammer at gmx.at
Sun Jun 19 17:52:22 BST 2011


On Saturday, 2011-06-18, Kevin Krammer wrote:
> Hi all,
> 
> since our 4.6.0 release I keep an eye on various user channels to see which
> problems come up and how the early adopters cope with them.
> 
> One rather nasty issue is ExternalPayload=false in akonadiserverrc which I
> think will bite almost everyone who did not start with a new user account
> on a recent release.
> 
> Effects of this setting are people not being able to copy emails between
> recources (a user reports copying only copied headers), DIMAP accounts only
> caching headers, etc.

Just as an example:
https://bugs.kde.org/show_bug.cgi?id=275561#c9

> Do we actually need this setting, i.e. can't we just ignore it if present?

I had a quick look at the respective server code and I came up with three 
options:

1) in DbConfig constructor, remove the line that reads the config entry. Would 
still allow subclasses to override by reimplementing useExternalPayload()

2) Adapt the code calling the method to use the configured threshold when true 
and use the database's maximum blob size when false, i.e. always store file if 
necessary.

3) Remove all usages of the method.

Any thoughts?

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20110619/5abe3e4c/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list