Sitemap reordering 5.7.5.10

Permalink
I'm experiencing issues when ordering sitemap pages when the parent page has 100 + pages, the page i'm trying to reorder gets pushed to the bottom of the list in the wrong order when i try reorder.

As an example of what i mean I am reordering the page 'Parador de Soria' from around about DisplayOrder 94 to display order 99, I drag 'Parador de Soria' to the correct order and refresh the page. The page does not appear in the correct order, it should appear to the top of page 2 in the paginated results, instead it appears at the bottom of the sitemap at around display order 200.

I have attached screen shots of my steps so that you can get a better idea of what is happening - This seems to be a bug in concrete

Could anyone help?

3 Attachments

ali7566
 
ali7566 replied on at Permalink Reply
ali7566
Anyone got any ideas why this is happening with the above? this seems to be a bug stopping core functionality in 5.7.5.10
hutman replied on at Permalink Reply
hutman
Have you checked your PHP Error logs to see if the request is timing out? When you reorder pages like that all of the pages have to be reordered so it takes quite a bit of time and could be timing out.

You should be able to check that in your PHP Error logs, or in your developer console under the networking tab it should show a server 500 on the ajax request if that happens.
ali7566 replied on at Permalink Reply
ali7566
Hi hutman

Thanks for the reply - I've checked my php log file and no error is being thrown, the network tab is also clean.

It seems that the function to reorder the pages is happening however many of the pages are being assigned the same DisplayOrder number so when the function to reorder the pages happens it does not know where to place some of the pages, as they have the same number assigned, so it sends them to the bottom..

I'm going to try upgrade from 5.7.5.10 to 5.7.5.13 to see if this helps the problem
hutman replied on at Permalink Reply
hutman
Just to clarify, when you say "the network tab is also clean" do you mean you can see the ajax call and it finishes with 200 OK or nothing shows up there?

Are you re-ordering from the Full Sitemap or somewhere else?
ali7566 replied on at Permalink Reply 1 Attachment
ali7566
yes the sitemap_update call finishes with a 200 code in the network tab and I'm reordering the pages from the flat view in the sitemap

Upgrading did not fix the problem unfortunately
ali7566 replied on at Permalink Reply
ali7566
Please help!

This bug also appears on version 8.1.0, I have submitted a bug report for this -https://www.concrete5.org/developers/bugs/8-1-0/sitemap-flatview-ord...