Review Request 110065: fix notifcation plasmoid about some undefined data when retreive data from data engine

Xuetian Weng wengxt at gmail.com
Sat Apr 20 18:14:58 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/110065/
-----------------------------------------------------------

(Updated April 20, 2013, 6:14 p.m.)


Review request for Plasma and Marco Martin.


Changes
-------

great.. we can avoid the (potential) property binding problem by put data as function argument.


Description
-------

Current notifications will give quite a lot warning, since jobsSource.data[modelData] might be undefined in the first place.

And this can also cause label1NameText to be shown as "undefinded: " for a job, this can be reproduced when you do the job of copy a large folder to sftp, the label1 will be undefined when doing the folder creation.


Diffs (updated)
-----

  plasma/generic/applets/notifications/contents/ui/JobDelegate.qml cf60946 

Diff: http://git.reviewboard.kde.org/r/110065/diff/


Testing
-------

all related warning is now suppressed, and undefined will not be shown in the same case.


Thanks,

Xuetian Weng

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130420/5116f1eb/attachment.html>


More information about the Plasma-devel mailing list