Closed Bug 488165 Opened 15 years ago Closed 15 years ago

Correct set the record object type when processing records

Categories

(Cloud Services :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Mardak, Assigned: Mardak)

References

Details

History and Bookmarks engines don't set _recordObj, so passing that to Collection doesn't quite do the right thing.

Blocks bug 488142 because I try using a record's getter and it turns out to be undefined because the type is wrong (CryptoWrapper instead of HistoryRec, etc).
http://hg.mozilla.org/labs/weave/rev/90a442b0ea2a

Set _recordObj for Bookmarks/History engines and override PlacesItem.decrypt to switch itself to the right type after CryptoWrapper decrypts the payload.
Assignee: nobody → edilee
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: -- → 0.4
Blocks: 488190
Component: Weave → General
Product: Mozilla Labs → Weave
Version: Trunk → unspecified
QA Contact: weave → general
You need to log in before you can comment on or make changes to this bug.