diff options
author | 2020-05-17 00:16:17 +0200 | |
---|---|---|
committer | 2020-05-17 00:38:10 +0200 | |
commit | 0e49b820074adc93fed49695ad15941edf3a8b99 (patch) | |
tree | 7d6e7816d74bc9688317473f497c58fa671f8b7a /kde-plasma/drkonqi/files | |
parent | kde-plasma/kwin: Drop 5.18.5 (r0) (diff) | |
download | gentoo-0e49b820074adc93fed49695ad15941edf3a8b99.tar.gz gentoo-0e49b820074adc93fed49695ad15941edf3a8b99.tar.bz2 gentoo-0e49b820074adc93fed49695ad15941edf3a8b99.zip |
kde-plasma/drkonqi: Fix random 113 errors (user_not_insider)
KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=421187
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/drkonqi/files')
-rw-r--r-- | kde-plasma/drkonqi/files/drkonqi-5.18.5-init-bools-w-false.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/kde-plasma/drkonqi/files/drkonqi-5.18.5-init-bools-w-false.patch b/kde-plasma/drkonqi/files/drkonqi-5.18.5-init-bools-w-false.patch new file mode 100644 index 000000000000..6ce33a7198ab --- /dev/null +++ b/kde-plasma/drkonqi/files/drkonqi-5.18.5-init-bools-w-false.patch @@ -0,0 +1,50 @@ +From c517b795936fdab641849ca83ec8c3e253e32de8 Mon Sep 17 00:00:00 2001 +From: Harald Sitter <sitter@kde.org> +Date: Tue, 12 May 2020 12:25:52 +0200 +Subject: initialize bools to false by default + +Summary: +This should fix random 113 errors (user_not_insider) coming out of the api + +I can't really reproduce the problem other than by setting the bools +explicitly to true. Seeing as they were previously not set explicitly +they could very well end up true accidentally. +To fix this let's set them explicitly false. + +BUG: 421187 +FIXED-IN: 5.18.6 + +Test Plan: +hoping for the best! +tests still pass tho + +Reviewers: davidedmundson, apol + +Reviewed By: apol + +Subscribers: plasma-devel + +Tags: #plasma + +Differential Revision: https://phabricator.kde.org/D29675 +--- + src/bugzillaintegration/libbugzilla/clients/commands/newattachment.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/bugzillaintegration/libbugzilla/clients/commands/newattachment.h b/src/bugzillaintegration/libbugzilla/clients/commands/newattachment.h +index d30f379..8b4e4bb 100644 +--- a/src/bugzillaintegration/libbugzilla/clients/commands/newattachment.h ++++ b/src/bugzillaintegration/libbugzilla/clients/commands/newattachment.h +@@ -34,8 +34,8 @@ class NewAttachment : public JsonCommand + BUGZILLA_MEMBER_PROPERTY(QString, summary); + BUGZILLA_MEMBER_PROPERTY(QString, content_type); + BUGZILLA_MEMBER_PROPERTY(QString, comment); +- BUGZILLA_MEMBER_PROPERTY(bool, is_patch); +- BUGZILLA_MEMBER_PROPERTY(bool, is_private); ++ BUGZILLA_MEMBER_PROPERTY(bool, is_patch) = false; ++ BUGZILLA_MEMBER_PROPERTY(bool, is_private) = false; + + // flags property is not supported at this time + +-- +cgit v1.1 |