-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to move grid block #9962
Comments
I don't know if that's the exact fix but it would be good to investigate what that if statement does and how it should be ammended. 👍 |
Hi @AaronSadlerUK, We're writing to let you know that we would love some help with this issue. We feel that this issue is ideal to flag for a community member to work on it. Once flagged here, folk looking for issues to work on will know to look at yours. Of course, please feel free work on this yourself ;-). If there are any changes to this status, we'll be sure to let you know. For more information about issues and states, have a look at this blog post Thanks muchly, from your friendly Umbraco GitHub bot :-) |
@nul800sebastiaan surely this is a core bug, given that one of the fundamental features of grid is the drag and drop? |
Hi @AaronSadlerUK, certainly it's a core bug. The way we work with incoming bug reports is usually: if we broke it recently then we fix it. If it's been broken for a long time then it seems not many people are running into the problem, we kindly ask for some help in getting it fixed. |
I noticed 3 people last night having the same issue on Facebook, others as on the forum post are also running into this issue. Just concerned that this seems to have been around a while, and as such won't be picked up and fixed in a timely manner. Fingers crossed it gets fixed 🤞 |
I wonder if this may be related to #9825 which has PR #9887 The previous Actually I could only find this reference of |
The bodge in 8.10.2 is slightly different to above: The following line needs commenting out (L18923 of umbraco.controller.js):
|
Just to update, this issue also happens when editors are manually selected |
Took a look at this today. The issue seems to be that .allow does not take the option "Allow all editors" into account. It's better to be using $allowedEditors because it combines the results based on .allow & .allowAll here: https://github.com/umbraco/Umbraco-CMS/blob/v8/contrib/src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/grid.controller.js#L848 |
As seen on the forum here:
https://our.umbraco.com/packages/website-utilities/umf/bug-reports/104700-this-content-is-now-allowed-here-prevents-reordering, this breaks one of the main and fundamental reasons for using grid.
The post is for an earlier version, however it still exists in 8.10.2.+
It seems it is not possible to drag and drop grid blocks if allow all editors is enabled.
The workaround for now involves commenting out a line in a core file:
src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/grid.controller.js
The text was updated successfully, but these errors were encountered: