Merge lp:~adeuring/charmworld/1192544-dont-hide-charms-with-processing-errors into lp:~juju-jitsu/charmworld/trunk
Proposed by
Abel Deuring
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Abel Deuring | ||||||||||||
Approved revision: | 289 | ||||||||||||
Merged at revision: | 288 | ||||||||||||
Proposed branch: | lp:~adeuring/charmworld/1192544-dont-hide-charms-with-processing-errors | ||||||||||||
Merge into: | lp:~juju-jitsu/charmworld/trunk | ||||||||||||
Diff against target: |
83 lines (+6/-18) 4 files modified
charmworld/models.py (+0/-1) charmworld/search.py (+0/-3) charmworld/tests/test_models.py (+3/-3) charmworld/tests/test_search.py (+3/-11) |
||||||||||||
To merge this branch: | bzr merge lp:~adeuring/charmworld/1192544-dont-hide-charms-with-processing-errors | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Abel Deuring (community) | Approve | ||
Aaron Bentley (community) | Approve | ||
Review via email: mp+171756@code.launchpad.net |
Commit message
Do not filter charm with processing errors in search() and find_charms().
Description of the change
This branch removes the filters "don't include charms where charm.error is set" from the functions search() and find_charms(). This should fix bugs 1194554, 1192556, 1192544.
One corner case remains: If an ingest error occurs for a charm that is not yet stored in the MongoDB, it can happen that we now show a charm without having any intersting information about it, like the provided/required interfaces, the description or summary.
To post a comment you must log in.
Please change the tests so that instead of testing store errors, they test that processing errors do *not* cause the charms to be hidden. Otherwise, looks fine.