Closed (fixed)
Project:
DraggableViews
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2017 at 16:29 UTC
Updated:
2 Nov 2017 at 02:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alex.bukach commentedComment #3
istryker commentedHow to test? I create a random relationship?
Comment #4
alex.bukach commented@iStryker, here's an example how it can be reproduced:
It's not exactly the case I had a problem with, but probably it's the easiest way to reproduce the issue.
Comment #5
istryker commentedSo I tried Draggableviews Demo with 5 nodes. The setup you described threw 5 errors (one for each node). The patch got rid of the errors, however, only one entry got added to the database when you save the order (therefore the order is not saved correctly). There should be one entry for each node.
I tested your patch with 8.x-1.0 and the current 8.x-1.x-dev (which needs to be re-rolled)
Comment #6
alex.bukach commented@iStryker apparently I was not clear enough. From what you describe looks all your nodes had the same author. If so, the described behaviour is the correct one: when you sort authors and there is a single author, only one record is created.
I mentioned there must be aggregation enabled in the view with counting number of nodes per author, so that you have a single line per author.
Comment #8
istryker commentedLooks good, It fixed the problem.