Developer forum

Forum » CMS - Standard features » Page sorting issue

Page sorting issue

Scott Forsyth Dynamicweb Employee
Scott Forsyth
Reply

Hello,

One of our customers reported an issue with the page sorting. When attempting to re-sort and save, they waited a long time (hours) and it never completed. They do have a bunch of pages (365 ... coincidently, you could update one per day for a year before needing to start over again!) so it normally takes a while to save the sort.

After troubleshooting, I found that there were some duplicate PageSort values for the page PageParentPageId + PageAreaID combo. I corrected it by renumbering manually in the database so that there weren't duplicates. That solved it at the time. It appears that if there is one duplicate, the whole save fails. 

However, they just reported that this occurred again. This suggests that something is causing the PageSort to misalign. I'm sure I won't be able to provide a repro though since it's months between occurrences and we don't know when it went wrong.

Is there any chance this is a known issue? (they are on 9.10.12) Or, at the very least, if it's difficult to determine the case, can the page sort save be made to be more resilient to duplicate PageOrder ids?

Thanks,

Scott


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Scott

I see nothing that causes that - and have tried to resort pages with same sort value.

The sort is handled by the pageservice that has a number of changes and improvements since your version.

 BR Nicolai

 
Scott Forsyth Dynamicweb Employee
Scott Forsyth
Reply

Hi Nicolai,

Thanks for checking and weighing in. In that case, it sounds like we should plan for an upgrade with the assumption that it's likely that this has been address with the pageservice method.

We'll start planning for an upgrade as a next step then.

Thanks,

Scott

 

You must be logged in to post in the forum