Jump to content

Uncaught Wire Exception d/d sort with sort field defined.


rick
 Share

Recommended Posts

When pages are automatically sorted on a field, the move option is still enabled. Attempting to move one of those pages results in the following error:

Your sort was not saved because these pages are automatically sorted by 'fieldname'

PW .179
PHP 7.4

Personally, I think the move option should be removed when a field sort is defined, rather than just catching this exception.

Link to comment
Share on other sites

If you're seeing an uncaught exception (i.e. an error screen) and have the latest version v4.22.5 Tracy Debugger installed then you might be affected by this issue: https://github.com/adrianbj/TracyDebugger/issues/59
(Update: fixed now in v4.22.6, thanks @adrian)

But there's also a core bug that makes the "Move" action appear in Page List in situations where it shouldn't, and I've opened a GitHub issue and suggested fix for that here: https://github.com/processwire/processwire-issues/issues/1394

Edited by Robin S
  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...