Closed Bug 1118193 Opened 11 years ago Closed 11 years ago

[Super Search Fields] Cannot remove keys from the storage mapping

Categories

(Socorro Graveyard :: Middleware, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: adrian, Assigned: adrian)

Details

There's a problem when updating the mapping storage and trying to remove a key from the JSON doc: that key simply won't be removed. I suspect this is because the storage mapping is indexed as an object in Elasticsearch, and thus when I do an update of the document, it merges the changes without removing the missing keys.
Commit pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/b986ee1b1a2fdb05c56c396ca9df61b7b512aa3a Fixes bug 1118193 - Replace storage_mapping in Super Search Fields when it is updated. r=phrawzty
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Socorro → Socorro Graveyard
You need to log in before you can comment on or make changes to this bug.