Project

General

Profile

Actions

Bug #95580

open

Wrong ConfigurationManager in Frontend Ajax call

Added by Markus Pircher over 2 years ago. Updated about 1 year ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2021-10-12
Due date:
% Done:

0%

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

Description

I use in some of my extension Ajax calls in the frontend, but with TYPO3 11.5 I got the error message that my controller is not allowed for the extension.

After some searching I have found that Configuration uses the BackendConfigurationManager instead the FrontendConfigurationManager.

I did not find anything if I have to change something in my configuration, or if it's a bug.

The typoscript configuration looks like:


lib.tx_myextension.conf = USER
lib.tx_myextension.conf {
    userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
    extensionName = MyExtension
    pluginName = Pi1
    vendorName = MyVendor

    settings < plugin.tx_myextension.settings
}

tx_myextension_ajaxCall = PAGE
tx_myextension_ajaxCall {
    typeNum = 424342
    config {
        disableAllHeaderCode = 1
        disablePrefixComment = 1
        xhtml_cleaning = 0
        no_cache = 1
        replace = 1
    }
    10 < lib.tx_myextension.conf
}


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #96371: Strange error with custom Frontend AuthenticationService in TYPO3 11 TLSClosed2021-12-16

Actions
Actions

Also available in: Atom PDF