Unsure of the cause, may be site-specific, but I noticed while running the import that the Migrate report showed we had 1095 attachments to import, we had imported 134 already, and that we had only -5063 remaining.

Comments

xurizaemon’s picture

Guessing that "unimported" is actually showing the number of posts count down as we iterate through looking for attachments.

mikeryan’s picture

Category: bug » feature
Priority: Normal » Minor

The negative count is cosmetic and temporary - what's happening is that it needs to iterate over all the <item> elements looking for those of type attachment, and those that aren't (the posts and pages) are recording in the map table as ignored. This count is considered "processed" and subtracted from the total attachment count, rendering the temporary negative count. When the attachment migration is done, the ignored entries are removed from the map and then the counts reflect reality.

Maybe we could override the appropriate count method to ignore the ignore rows (redundant as that may seem;)...

hongpong’s picture

Issue summary: View changes
Status: Active » Closed (outdated)