Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Form validation ajax - replace loadCachedTca with initTCA #19

Closed
mmunz opened this issue Jan 19, 2018 · 7 comments
Closed

Form validation ajax - replace loadCachedTca with initTCA #19

mmunz opened this issue Jan 19, 2018 · 7 comments

Comments

@mmunz
Copy link

mmunz commented Jan 19, 2018

This is already covered with pull request #4, but since this was not merged for a long time i'd ask to at least fix this simple issue to make form validation using ajax (eID) work again.

diff --git a/Classes/Utility/GeneralUtility.php b/Classes/Utility/GeneralUtility.php
index 9cf4d7a..a691392 100644
--- a/Classes/Utility/GeneralUtility.php
+++ b/Classes/Utility/GeneralUtility.php
@@ -839,7 +839,7 @@ class GeneralUtility implements SingletonInterface
         $GLOBALS['TSFE']->fe_user->fetchGroupData();
 
         // Include the TCA
-        \TYPO3\CMS\Core\Core\Bootstrap::getInstance()->loadCachedTca();
+        \TYPO3\CMS\Frontend\Utility\EidUtility::initTCA();
 
         // Get the page
         $GLOBALS['TSFE']->fetch_the_id();

@SvenDeKa
Copy link

SvenDeKa commented Feb 5, 2018

+1

2 similar comments
@JanJanssenD
Copy link

+1

@kaywalker
Copy link
Contributor

+1

@7elix
Copy link
Collaborator

7elix commented Dec 4, 2018

Could you please send a Pull Request and Commit to fix the issue?

@kaywalker
Copy link
Contributor

I created a pull request: #33

@kaywalker
Copy link
Contributor

would you mind creating a new tag including this commit?

@7elix
Copy link
Collaborator

7elix commented Apr 5, 2021

Solved

@7elix 7elix closed this as completed Apr 5, 2021
luzat pushed a commit to luzat/formhandler that referenced this issue Nov 23, 2022
* Added phpstorm meta

* Remove version check, it is always > 4.3.0

* Remove type hints
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants