xperseguers / t3ext-image_autoresize

TYPO3 Extension image_autoresize. Simplify the way your editors may upload their images.
https://extensions.typo3.org/extension/image_autoresize
GNU General Public License v3.0
16 stars 22 forks source link

It is not possible to create new rules in TYPO3 v12 #92

Closed Prospero256 closed 7 months ago

Prospero256 commented 11 months ago

Hello,

thank you for developing this fine extension. Unfortunately there seems to be a problem in this new environment:

I am using version 2.2.2 in TYPO3 v12.4.8, as composer-installation on Ubuntu 22 with PHP 8.2.12. It is possible to access the extension configuration and set some general rules, which -as far as I can tell atm.- do work, but the button for creating new rules on the last tab does not (nothing happens, not even error messages).

Update: There actually are error messages:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1478105491: Specified identifier {"type":"tca","tableName":"tx_imageautoresize","fieldName":"rulesets","dataStructureKey":"default"} does not resolve to a valid TCA array value | TYPO3\CMS\Core\Configuration\FlexForm\Exception\InvalidIdentifierException thrown in file [...]/vendor/typo3/cms-core/Classes/Configuration/FlexForm/FlexFormTools.php in line 660. Requested URL: [...]/typo3/ajax/record/flex/containeradd?token=--AnonymizedToken--

and

Core: Error handler (BE): PHP Warning: Undefined array key "tx_imageautoresize" in [...]/vendor/typo3/cms-backend/Classes/Controller/FormFlexAjaxController.php line 57

The latter sounds like a missing DB entry, but the DB report tool says the DB is fine.

nannione commented 9 months ago

I can confirm the issue. Additionally the image type conversion mapping seems not to work either in TYPO3 v12.

xperseguers commented 9 months ago

@nannione What is "the format conversation"?

nannione commented 9 months ago

Updated my comment with the correct term "image type conversion mapping".

xperseguers commented 9 months ago

The xxtension breaks the scheduler as soon you create a new task.

@nannione Please do not hijack the ticket with something unrelated to it.

The problem with the scheduler has been fixed, some details in #96

xperseguers commented 8 months ago

Problem actually still exists when CSP is enabled (see #83)

xperseguers commented 8 months ago

Info to reproduce:

  1. Enable CSP (by default "on" for new install): make sure to toggle on [SYS][features][security.backend.enforceContentSecurityPolicy]
  2. Go to Extension Manager and open the configuration form for this extension
  3. Either check the console or use the Backend module Admin Tools > Content Security Policy