Project

General

Profile

Actions

Bug #100915

open

"Show references for this form" throws error for form definitions in Private path of custom extension

Added by Chris Müller 9 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2023-05-24
Due date:
% Done:

0%

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

Description

I store forms (which are not editable by editors and get deployed) in a custom extension in the path "Resources/Private/Forms". When I now click on the overview page of the "Forms" backend module on the three dots and select "Show references for this form" the following error occurs:

Tried to access a private resource file "EXT:my_ext/Resources/Private/Forms/my_form.form.yaml" from fallback compatibility storage. This storage only handles public files.

Exception code: 1633777536

The relevant parts of the stack trace:

in /var/www/html/vendor/typo3/cms-core/Classes/Resource/ResourceFactory.php line 325

at TYPO3\CMS\Form\Service\DatabaseService->getReferencesByPersistenceIdentifier('EXT:my_ext/Resources/Private/Forms/my_form.form.yaml')
in /var/www/html/vendor/typo3/cms-form/Classes/Controller/FormManagerController.php line 452

at TYPO3\CMS\Form\Controller\FormManagerController->getProcessedReferencesRows('EXT:my_ext/Resources/Private/Forms/my_form.form.yaml')
in /var/www/html/vendor/typo3/cms-form/Classes/Controller/FormManagerController.php line 295

at TYPO3\CMS\Form\Controller\FormManagerController->referencesAction('EXT:my_ext/Resources/Private/Forms/my_form.form.yaml')
in /var/www/html/vendor/typo3/cms-extbase/Classes/Mvc/Controller/ActionController.php line 575

No data to display

Actions

Also available in: Atom PDF