Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LocationMapWizard not working with inline items in TYPO3 12 #487

Open
timdreier opened this issue Jun 20, 2023 · 5 comments
Open

LocationMapWizard not working with inline items in TYPO3 12 #487

timdreier opened this issue Jun 20, 2023 · 5 comments

Comments

@timdreier
Copy link
Contributor

Bug Report

Current Behavior
If I click on the marker icon next to the longitude field nothing happens.

Expected behavior/output
If I click on the marker icon next to the longitude field the wizard opens.

Environment

  • TYPO3 version(s): 12.4.1
  • tt_address version: master
  • Is your TYPO3 installation set up with Composer (Composer Mode): yes
@georgringer
Copy link
Contributor

can you try TYPO3 12.4.2?

@timdreier
Copy link
Contributor Author

@georgringer same result! I just encountered a similar error in my own extension. The Problem seems to be caused when requireJS is used in inline items in TYPO3 12.

https://typo3.slack.com/archives/C025BQLFA/p1688987985101889

Seems like currently the only solution is to migrate to a ES6 module.

@georgringer
Copy link
Contributor

@timdreier wanna do a PR?

@morange
Copy link

morange commented Jul 26, 2023

Hi, i have the same problem with this function. I'm using TYPO3 v12.4.4 and tt_address 8.0.1.

in the JS Console i see this error:
[CKEditorInspector] Whoops! Looks like you tried to create an instance of the CKEditorInspector class. To attach the inspector, use the static CKEditorInspector.attach( editor ) method instead. For the latest API, please refer to https://github.com/ckeditor/ckeditor5-inspector/blob/master/README.md. ckeditor5-inspector.js:2:2826 Uncaught (in promise) TypeError: t is null e https://project.ddev.site/_assets/e6e9ab44fbf612493f3dc98c95754dbf/JavaScript/leaflet-core-1.4.0.js?bust=1690366141:5 t https://project.ddev.site/_assets/1ee1d3e909b58d32e30dcea666dd3224/JavaScript/java-script-item-processor.js?bust=1690363685:13 executeJavaScriptModuleInstruction https://project.ddev.site/_assets/1ee1d3e909b58d32e30dcea666dd3224/JavaScript/java-script-item-processor.js?bust=1690363685:13 executeJavaScriptModuleInstruction https://project.ddev.site/_assets/1ee1d3e909b58d32e30dcea666dd3224/JavaScript/java-script-item-processor.js?bust=1690363685:13 promise callback*executeJavaScriptModuleInstruction https://project.ddev.site/_assets/1ee1d3e909b58d32e30dcea666dd3224/JavaScript/java-script-item-processor.js?bust=1690363685:13 javaScriptModuleInstruction https://project.ddev.site/_assets/1ee1d3e909b58d32e30dcea666dd3224/JavaScript/java-script-item-processor.js?bust=1690363685:13 invoke https://project.ddev.site/_assets/1ee1d3e909b58d32e30dcea666dd3224/JavaScript/java-script-item-processor.js?bust=1690363685:13 processItems https://project.ddev.site/_assets/1ee1d3e909b58d32e30dcea666dd3224/JavaScript/java-script-item-processor.js?bust=1690363685:13 processItems https://project.ddev.site/_assets/1ee1d3e909b58d32e30dcea666dd3224/JavaScript/java-script-item-processor.js?bust=1690363685:13 <anonymous> https://project.ddev.site/_assets/1ee1d3e909b58d32e30dcea666dd3224/JavaScript/java-script-item-handler.js?1690273867:13 promise callback* https://project.ddev.site/_assets/1ee1d3e909b58d32e30dcea666dd3224/JavaScript/java-script-item-handler.js?1690273867:13

@timdreier
Copy link
Contributor Author

@georgringer will try to find the time - currently stuck in exams :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants