Bug 127710 - PATCH: fix sending documents to Claws Mail
Summary: PATCH: fix sending documents to Claws Mail
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: paul
URL:
Whiteboard: target:6.4.0 target:6.3.3
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-23 09:18 UTC by paul
Modified: 2019-10-05 12:08 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
patch to fix this bug (467 bytes, patch)
2019-09-23 09:18 UTC, paul
Details

Note You need to log in before you can comment on or make changes to this bug.
Description paul 2019-09-23 09:18:24 UTC
Created attachment 154381 [details]
patch to fix this bug

The attached patch fixes sending documents to claws-mail.

The problem was apparent when attempting to send a document which has spaces in its name.
Comment 1 paul 2019-09-23 09:22:31 UTC
i was told on irc to include a license statement for the patch. It has the same license as the file it patches.
Comment 2 Xisco Faulí 2019-09-23 11:13:22 UTC
Hello Paul,
Thank you for providing the patch.
Could you please upload to gerrit as described here < https://wiki.documentfoundation.org/Development/gerrit/SubmitPatch > ?
Comment 3 paul 2019-09-23 13:28:41 UTC
Hi,

That sounds very convoluted for just a simple one-line patch. Can it not just be pushed by you or someone else?
Comment 4 Julien Nabet 2019-09-23 14:25:59 UTC
Paul: I can submit your patch on gerrit after my day time job but at least, could you provide required licence information as described at https://wiki.documentfoundation.org/Development/GetInvolved ?
Comment 5 paul 2019-09-23 14:59:58 UTC
Julien, my patch doesn't not include any original code. The patch only replicates some code from the same file and re-uses it. Therefore, it's MPLv2, same as the file it patches.
Comment 6 paul 2019-09-23 15:00:36 UTC
> doesn't not

I meant "does not".
Comment 7 Julien Nabet 2019-09-23 19:38:05 UTC
Patch submitted here:
https://gerrit.libreoffice.org/#/c/79423/
Comment 8 Michael Meeks 2019-09-24 07:50:22 UTC
Hi Paul; thanks for the patch, I agree it's not necessary - but hopefully its ~trivial to send an E-mail to the list too (or privately to me if you have some privacy concern) - to keep our records in order.

And thank againn for the fix =) No problem with you merging it as-is Julien; thanks for the ping.
Comment 9 Julien Nabet 2019-09-24 13:37:24 UTC
(In reply to Michael Meeks from comment #8)
> Hi Paul; thanks for the patch, I agree it's not necessary - but hopefully
> its ~trivial to send an E-mail to the list too (or privately to me if you
> have some privacy concern) - to keep our records in order.
> 
> And thank againn for the fix =) No problem with you merging it as-is Julien;
> thanks for the ping.

Thank you Michael for your feedback.
So I'll wait for Paul's license statement before pushing the patch.
Comment 10 paul 2019-09-24 14:08:16 UTC
license statement has been sent to the list
Comment 11 Commit Notification 2019-09-24 14:16:20 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/1c03df6e82e4bf30294fc0b9e64de5cc39efc5c4

tdf#127710: fix sending documents to Claws Mail

It will be available in 6.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 12 Julien Nabet 2019-09-24 14:20:08 UTC
Thank you Paul for the patch and your license statement!

I cherry-picked the patch for 6.3 branch, see https://gerrit.libreoffice.org/#/c/79460/
Comment 13 Commit Notification 2019-10-05 12:08:46 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "libreoffice-6-3":

https://git.libreoffice.org/core/commit/95ddf1f58919608e29fdbe78080fbce4e5277f85

tdf#127710: fix sending documents to Claws Mail

It will be available in 6.3.3.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.