You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to migrate a collection which contains attachments. Even though I don't change _attachments at all, the content_type is lost after the migration (which causes different errors). The migration itself is successful.
It looks like the data migrator calls bulkAddRevisionshere with documents which look like this:
This looks more like RxDocumentWriteData than RxDocumentData (which bulkAddRevisions is supposed to take as an argument). If I replace pouchSwapPrimaryToId with rxDocumentDataToPouchDocumentData in bulkAddRevisions everything seems to work.
Case
Bug
Issue
I'm trying to migrate a collection which contains attachments. Even though I don't change _attachments at all, the
content_type
is lost after the migration (which causes different errors). The migration itself is successful.It looks like the data migrator calls
bulkAddRevisions
here with documents which look like this:This looks more like
RxDocumentWriteData
thanRxDocumentData
(whichbulkAddRevisions
is supposed to take as an argument). If I replacepouchSwapPrimaryToId
withrxDocumentDataToPouchDocumentData
inbulkAddRevisions
everything seems to work.Info
Code
#3461
The text was updated successfully, but these errors were encountered: