Closed (fixed)
Project:
DraggableViews
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 May 2016 at 09:55 UTC
Updated:
10 Sep 2017 at 15:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
thtas commentedThis is causes by the way classes are defined inside the #attribute arrays in DraggableViewsField.php
Bootstrap will throw an error, and the the classes never make it the output, meaning the weights/ids/parents don't get saved and it also cause javascript errors when trying to drag and drop items.
See https://www.drupal.org/node/2786771
Attached is a patch to fix this
Comment #3
visabhishek commentedPatch#2 Working fine for me with Bootstrap 8.x-3.0-rc2.
Comment #4
jeff veit commentedPatch works fine for me too.
Comment #5
David_Rothstein commentedNote: I have a Drupal 7 version of this fix in the linked issue, although it sounds like the practical effect of the problem is worse in Drupal 8.
Comment #6
stellarvisions commentedTesting this on a Pantheon site.
the patch in #2 cleared the errors but the order is still not saved.
Drupal 8.3.6 and module Version: 8.x-1.0
Comment #8
istryker commentedTitle is confusing. The problem is the error message. Patch #2 fixes this. Confirmed by 3 people. Committed.
@stellarvisions please open a new issue.