Closed (works as designed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
migration system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 May 2014 at 23:49 UTC
Updated:
20 Aug 2014 at 12:51 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
penyaskitoComment #2
benjy commentedCan you give an example of why this is needed? How have the tests been passing all the time if the number of expected results were incorrect?
Comment #4
penyaskitoUploading the patch that caused the failures for me (see #2166875: Migrate D6 languages) just for the sake of testing against core in testbots.
Comment #5
penyaskito#2 @benjy: I'm as confused as you are. Probably core is right. I don't really expect this to be committed, I just need to understand why it happens and leave this documented somewhere.
Comment #9
penyaskitoSo my problem was that I had not overriden count(). It is still unknown why iterator_count() and count() returned different results, but the problem is now gone.