D9004: Input validation of SubJobs

David Faure noreply at phabricator.kde.org
Sun Nov 26 19:30:34 UTC 2017


dfaure added inline comments.

INLINE COMMENTS

> anthonyfieroni wrote in kcompositejob.cpp:102
> Yeah, you are right, but we ever emit on error? It's finish whole composite job (deleteLater will be called)

When a subclass calls this slotResult implementation, they expect the behaviour of "finish with an error if the subjob had an error".

But NOT emitResult in the normal case (no error), since we might want to continue by creating another subjob.

I'm still missing a proper explanation of what's happening and what shouldn't happen.

REPOSITORY
  R244 KCoreAddons

REVISION DETAIL
  https://phabricator.kde.org/D9004

To: jtamate, #frameworks, dfaure, anthonyfieroni
Cc: anthonyfieroni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171126/907d104c/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list