Project

General

Profile

Actions

Bug #103483

closed

EXT:seo requires DB column 'sorting'

Added by Christian Rieke about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2024-03-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

A DB column 'sorting' is generated by the core if a TCA ctrl entry 'sortby' => 'sorting' is present. Neither the existence of a sortby nor the usage of this fieldname is mandatory. However, if the database column 'sorting' is missing, EXT:seo does throw a fatal error

An exception occurred while executing 'SELECT * FROM […] ORDER BY `sorting` ASC': Unknown column 'sorting' in 'order clause'
Actions #1

Updated by Christian Rieke about 1 month ago

  • Subject changed from EXT:seo requires DB colum 'sorting' to EXT:seo requires DB column 'sorting'

A DB column 'sorting' is generated by the core if a TCA ctrl entry 'sortby' => 'sorting' is present. Neither the existence of a sortby nor the usage of this fieldname is mandatory. However, if the database column 'sorting' is missing, EXT:seo does throw a fatal error

An exception occurred while executing 'SELECT * FROM […] ORDER BY `sorting` ASC': Unknown column 'sorting' in 'order clause'

(Corrected typo in title)

Actions #2

Updated by Chris Müller about 1 month ago

Which table are you referring to? Can you give an example?

Actions #3

Updated by Chris Müller about 1 month ago

  • Status changed from New to Needs Feedback
Actions #4

Updated by Christian Rieke about 1 month ago

Sorry, just a misconfiguration. In the EXT:seo data provider TypoScript, I should have changed the line "sortField = sorting" to "sortField = uid", as clearly stated in the documentation, instead of just deleting the line.

Please close the issue, thanks.

Actions #5

Updated by Oliver Bartsch about 1 month ago

Thanks for the feedback. I'm closing the issue now. In case you encounter similar issue again, feel free to open a new issue with reference to this one.

Best, Oli.

Actions #6

Updated by Oliver Bartsch about 1 month ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF