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

iStryker’s picture

Status: Active » Postponed (maintainer needs more info)

What do you mean locked? I have never heard this term before referencing Views.

Gabrieles’s picture

Hi,

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!

iStryker’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Drupal 6.x is no longer supported. Closing issue.