FluidTYPO3 / flux

TYPO3 extension Flux: Dynamic Fluid FlexForms
https://fluidtypo3.org
146 stars 212 forks source link

Workspace > try to publish a deleted Page > Broken rootline. Could not resolve page #2108

Closed typo3rel closed 1 year ago

typo3rel commented 1 year ago

Hi,

Deleted pages can no longer be published in the workspace.

versions flux 9.7.2 and 9.7.4 typo3 9.5.30

503
Oops, an error occurred!

Broken rootline. Could not resolve page with uid 23242.

first flux error in the trace:

at TYPO3\CMS\Core\Utility\RootlineUtility->get()
in /var/www/*******/public/typo3conf/ext/flux/Classes/Service/PageService.php line 127

        $rootLineUtility = $this->getRootLineUtility($pageUid);

        // Initialize with possibly-empty values and loop root line
        // to fill values as they are detected.
        foreach ($rootLineUtility->get() as $page) {
            $resolvedMainTemplateIdentity = is_array($page['tx_fed_page_controller_action'] ?? null)
                ? $page['tx_fed_page_controller_action'][0]
                : $page['tx_fed_page_controller_action'] ?? null;
            $resolvedSubTemplateIdentity = is_array($page['tx_fed_page_controller_action_sub'] ?? null)

without the flux extension everything runs fine

NamelessCoder commented 1 year ago

TYPO3 9.5 will no longer be supported in the next release of Flux. There will be no fix for this issue - sorry.

The issue does not appear to exist in more recent versions of TYPO3.

typo3rel commented 1 year ago

Sorry, but I meant v11.5.30. I don't know why I wrote 9.

NamelessCoder commented 1 year ago

Ah okay :)

In any case: the problem doesn't seem to exist anymore in dev-development.

typo3rel commented 1 year ago

I have just tried it. Unfortunately, the same problem.

typo3rel commented 1 year ago

Okay, I have deactivated basic.pageIntegration and it works for now.