Sorting components

Enonic version: 6.7.3

Having issues re-arranging the order of components… it seems like you cant drag the last component upwards in the structure, dont get the “green grab check”.

The action to try to do this throws an error:
Uncaught TypeError: Cannot read property 'getData' of undefined(…) @ PageComponentsGridDragHandler.ts:21

As an example I cant drag the spacer up between “Intro” and “Text intro” and the workaround would be to drag the 50/50 layout to the bottom and then drag the “Spacer” up.


We have tried to reproduce it with the similar component structure in both 6.7.3 and 6.8 but didn’t succeed. Are you sure you are getting the error under OSX and not under Windows?

Can you try to download Superhero app from our Market (under Applications/Install) and check if you are getting the same error there? This is what we used for testing.

Yes, I’m sure that I’m running OSX (macOS Sierra 10.12) :wink:

I can reproduce the issue with Superhero.
Editing the frontpage, try to move the “Two Column” layout above the “Featured” part.
I get several errors in the console then…

Sorting the parts inside the Two Column layout works as expected, but then you ain’t sorting the last part inside a region. So perhaps there is some difference there.