No error on missing mandatory fields

Bug #1259963 reported by Michal Hruby
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-scopes-api
Fix Released
High
Paweł Stołowski
unity-scopes-api (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I have a scope that doesn't call result->set_art(), and after pushing such result, nothing happens - the result isn't transferred from the scope to the client and is silently ignored without any indication why.

Ultimately, art shouldn't be mandatory. (even title itself could be empty if the renderer json specifies a different field to be used for the titles)

Related branches

Michal Hruby (mhr3)
description: updated
Changed in unity-scopes-api:
assignee: nobody → Pawel Stolowski (stolowski)
importance: Undecided → High
status: New → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:unity-scopes-api at revision 86, scheduled for release in unity-scopes-api, milestone Unknown

Changed in unity-scopes-api:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-scopes-api - 0.1.6+14.04.20131219.1-0ubuntu1

---------------
unity-scopes-api (0.1.6+14.04.20131219.1-0ubuntu1) trusty; urgency=low

  [ Pawel Stolowski ]
  * Added support for [] operator to the Result class, other minor changes to Result API.
  * Remove factory_configfile() API as well as the need to define it in
    the configuration files.
  * Made title / art optional in Result / CategorisedResult. Report
    uncaught exceptions from ScopeBase::run() to stderr. (LP: #1259963)

  [ Michal Hruby ]
  * Bump version requirements.
  * Loosen the version req so it works fine with PPAs.

  [ Jussi Pakkanen ]
  * Find libraries instead of using them blindly.
  * Fix use of uninitialised variable.
  * Use lowercased build type.
  * Use the macro version of noncopyable.
  * Made compile tests work when CCache is in use.
  * Detect jsoncpp with pkg-config.

  [ Marcus Tomlinson ]
  * Removed unity/api directories in test tree. (LP: #1249896)
  * Introduced Smart Scopes client functionality.
  * Fixed timing issue in cancel_get test.
  * Mock python servers now scan for an available port on localhost then
    return that port to the associated test process.

  [ Michi Henning ]
  * Fixed typo in CMakeLists.txt error message.
  * Made changes required by new API for exceptions in unity-api:
    https://code.launchpad.net/~michihenning/unity-api/what-
    fix/+merge/198871.
  * Changed CXX flags to not abort the build in release mode when there
    is a deprecation warning.
  * Add notes on now the client- and server-side invocation and dispatch
    are implemented. (LP: #1260253)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 106

unity-scopes-api (0.1.4-0ubuntu2) UNRELEASED; urgency=low

  [ Michal Hruby ]
  * Bump version because of the ResultItem rename.

  [ Pawel Stolowski ]
  * Added API for annotations.
  * Added Result::metadata() getter. Create null Variant with default ctor.
 -- Ubuntu daily release <email address hidden> Thu, 19 Dec 2013 21:08:02 +0000

Changed in unity-scopes-api (Ubuntu):
status: New → Fix Released
Changed in unity-scopes-api:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.