Skip to content

Error in DataHandler while deleting specific pages #2

@dwenzel

Description

@dwenzel

Method TYPO3\CMS\Core\DataHandling\DataHandler->deleteSpecificPage fails when vcc is installed.

This method loops through all tables in $GLOBALS['TCA'] and tries to find any records on a specific page searching by column pid

Table tx_scheduler_task does't have a field pid. Therefore the database query fails:

'SELECT uid FROM tx_scheduler_task WHERE pid = ?' with params
[1297]: Unknown column 'pid' in 'where clause'

The extension scheduler doesn't register tx_scheduler_task with TCA but vcc does extend it.
This seems to be the reason why it fails...

Thanks @meisterkaiser for reporting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions