https://demo.jujucharms.com/?deploy-target=~bigdata-charmers/bundle/data-analytics-with-sql-like fails with JS error
Bug #1431902 reported by
Richard Harding
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-gui |
Fix Released
|
High
|
Jeff Pihach |
Bug Description
The API responds with valid data but we get a JS error getting an attribute from it.
Changed in juju-gui: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
This is happening because the transformQueryR esults method is dropping the responded data because it contains a *-charmers id so that we don't end up with duplicates. This is a little too restrictive as we really only want this to happen on search results.
This line can be removed entirely once the duplication bug is fixed in charmworld which is landing soon.
https:/ /github. com/juju/ juju-gui/ blob/develop/ app/store/ charmstore- api.js# L126