Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
When we have two distinct Views on a page and (1) is a DraggableView that is set as "locked", while (2) is a View with display type "Table" with click sorting enabled, every time a users tries to sort (2) the system throws out the "The structure is locked" error message - which should be triggered only by attempts to sort (1)
This does not break the functionality (the system still sorts (2) as expected) but it is quite annoying, and misleading for the end user :(
We are using:
Draggable Views 6.x-3.5
Views 6.x-2.16
Comments
Comment #1
iStryker CreditAttribution: iStryker commentedWhat do you mean locked? I have never heard this term before referencing Views.
Comment #2
Gabrieles CreditAttribution: Gabrieles commentedHi,
The error message comes from the function _draggableviews_click_sort in draggableviews.inc
How to reproduce it
Place two Views on the same node,
Views1 = display is "Draggable Table" with "The user cannot rearrange nodes (locked)"
Views2 = display set as "Table" with "Override normal sorting if click sorting is used" and some fields set as sortable
When I try to sort the items in Views2 by clicking on the table headers I get the error message "The structure is locked" - which should occur only when I am trying to modify the order of Views1
Update:
We are now using:
DraggableViews 6.x-3.5
Views 6.x-3.0
Thanks for the quick reply, and apologies for MY lateness - I did not see a notification that you posted on this thread!
Comment #3
iStryker CreditAttribution: iStryker commentedDrupal 6.x is no longer supported. Closing issue.