Fixtures no longer import properly
chriskief opened this issue · comments
Chris Kief commented
Up to 0.4.6, importing a fixture respected the position set in the fixture:
- fields: {name: Item 1, position: 0}
model: app.item
pk: 1
- fields: {name: Item 2, position: 1}
model: app.item
pk: 2
- fields: {name: Item 1, position: 2}
model: app.item
pk: 3
- fields: {name: Item 1, position: 3}
model: app.item
pk: 4
As of version 0.5.0 and continuing with 0.5.1, all rows imported end up with the last position (3 in this case).
I haven't had a chance yet to look at the code changes to see what is responsible for this bug.
José Padilla commented
👍 Any chance this can get included in a new release?
Joel Watts commented
I've merged the fix and will be making a new release.