extension_builder icon indicating copy to clipboard operation
extension_builder copied to clipboard

🐛 [BUG] Broken JS while having options.enableBookmarks disabled

Open PKuhlmay opened this issue 2 years ago • 2 comments

Describe the bug A weird bug happens if a user has options.enableBookmarks = 0 in its UserTsConfig. With this config the Module of the EB is broken and in the console it says Bildschirm­foto 2022-11-13 um 09 15 54

For some reason all the HTML Code of the TYPO3 backend is inside the broken JS-File, instead of only containing JS.

To Reproduce Steps to reproduce the behavior:

  1. Set options.enableBookmarks = 0 in your UserTSConfig
  2. Open EB module
  3. See in console tab from the inspector

Expected behavior It should work

TYPO3 Version 10.4.32

Extension Builder Version: 10.0.4

Additional context PHP 7.3 and others

PKuhlmay avatar Nov 13 '22 08:11 PKuhlmay

It seems to work in TYPO3 11

PKuhlmay avatar Nov 13 '22 08:11 PKuhlmay

I cannot reproduce. Same System (but PHP 7.4.32). Tested in Firefox and Chrome in Ubuntu 22.04.

Gernott avatar Nov 22 '22 10:11 Gernott