Writing something to the log seems sensible, yes. At least we'll leave a
footprint behind that way.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1381891

Title:
  Setting invalid widget attribute does not raise exception

Status in unity-scopes-api package in Ubuntu:
  New

Bug description:
  Suppose I do:

  PreviewWidget desc("summary_col", "text");
  desc.add_attribute_value("test", Variant("This is the text for the widget"));

  Did you spot the error? The attribute being set is "test", but it
  should be "text". There is no indication that I'm doing something
  impossible, and I'm left scratching my head why nothing renders.

  It might be better to raise InvalidArgumentException here?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1381891/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to