Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Entry Manager and Column Expectations #4847

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

Open
mithra62 opened this issue May 15, 2025 · 1 comment · May be fixed by #4848
Open

Entry Manager and Column Expectations #4847

mithra62 opened this issue May 15, 2025 · 1 comment · May be fixed by #4848

Comments

@mithra62
Copy link
Contributor

Description of the problem

If a user sets their Column grouping within the Entry Manager to a grouping that does NOT include a Column that can be sorted/ordered, a fatal PHP error is thrown and the Entry Manager becomes unusable for said member.

Image

Further, a PHP notice gets thrown if the above since it's assumed the entry_id key would exist. I does not.

This happens across PHP and MySQL versions and has no bearing on output.

How To Reproduce
Steps to reproduce the behavior:

  1. Within a Channel Entry List
  2. Deselect all checked columns except Categories
  3. Refresh the page
  4. page borks

Error Messages


Call to a member function getEntryManagerColumnSortField() on null
Edit.php:167

Possible Solution
Checking for the existing and instanceof said variable

Additional context

@mithra62
Copy link
Contributor Author

Here's a vidya of the bug in action
https://www.loom.com/share/e47bf3212ab94c2392eacf656d22a46b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant