[kmail2] [Bug 423189] Cannot make default script active

Matthias Heinz bugzilla_noreply at kde.org
Tue Mar 9 14:30:26 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=423189

--- Comment #5 from Matthias Heinz <m.heinz at gmx.net> ---
After digging around in the code a bit I think I found the problem.

In ksieveui/managescriptsjob/generateglobalscriptjob.cpp is the function
GenerateGlobalScriptJob::writeUserScript(), which is called by the start()
function.

In the writeUserScript() function a put() is called to
kmanagesieve/sievejob.cpp SieveJob *SieveJob::put. And if you look closely it
has two booleans as input. One to set a script active, one to deactivate it.

And in writeUserScript() both bools are "false", which is wrong. The first one
should "true".

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list