No error on missing mandatory fields
Bug #1259963 reported by
Michal Hruby
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
lp:~stolowski/unity-scopes-api/fix-mandatory-result-fields
- PS Jenkins bot (community): Approve (continuous-integration)
- Michal Hruby (community): Approve
-
Diff: 270 lines (+111/-68)3 files modifiedsrc/internal/QueryObject.cpp (+3/-0)
src/internal/ResultImpl.cpp (+20/-17)
test/gtest/unity/api/scopes/CategorisedResult/CategorisedResult_test.cpp (+88/-51)
description: | updated |
Changed in unity-scopes-api: | |
assignee: | nobody → Pawel Stolowski (stolowski) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in unity-scopes-api: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:unity-scopes-api at revision 86, scheduled for release in unity-scopes-api, milestone Unknown