Bundle metadata contains redundant "doctype" attribute

Bug #1208477 reported by Aaron Bentley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charmworld
Fix Released
High
Aaron Bentley

Bug Description

Charms and bundles have an attribute called "doctype" that is redundent with their Elasticsearch document type. For bundles, "doctype" and Elasticsearch document type are both set to "bundle". For charms, "doctype" and Elasticsearch document type are both set to "charm".

The Elasticsearch document type is needed because it allows separate mappings to be used for charms and bundles. Removing the redundancy therefore means removing the "doctype" attribute.

Related branches

Curtis Hovey (sinzui)
Changed in charmworld:
importance: Undecided → High
status: New → Triaged
Aaron Bentley (abentley)
Changed in charmworld:
assignee: nobody → Aaron Bentley (abentley)
status: Triaged → In Progress
Aaron Bentley (abentley)
Changed in charmworld:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in charmworld:
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.