PHORAX / formhandler

Fork of TYPO3 extension «Formhandler»
GNU General Public License v2.0
36 stars 54 forks source link

Form validation ajax - replace loadCachedTca with initTCA #19

Closed mmunz closed 3 years ago

mmunz commented 6 years ago

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 commented 6 years ago

+1

JanJanssenD commented 6 years ago

+1

kaywalker commented 5 years ago

+1

7elix commented 5 years ago

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

kaywalker commented 5 years ago

I created a pull request: #33

kaywalker commented 5 years ago

would you mind creating a new tag including this commit?

7elix commented 3 years ago

Solved