Commit c517b795 authored by Harald Sitter's avatar Harald Sitter 🏡

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
parent 09a1b13a
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment