Update caretaker_instance to work with Typo3 7.xx
TrueType opened this issue · 6 comments
As of now it does not work. I get:
Fatal error: Call to undefined method
TYPO3\CMS\Frontend\Utility\EidUtility::connectDB()
in typo3conf/ext/caretaker_instance/eid/eid.tx_caretakerinstance.php on line 51
Typo3 7.0.2
Is there any planing to have - at least the client - run with later Typo3 versions?
Did you try the 7compatible branch?
Nope. I did actually check for branches. But somehow I must have missed recognizing "7compatible" as what I was looking for. I will try it right away. Thx.
Would be great if you could test it and give me feedback, if it's working for you.
Hi Tobi,
I installed the lastest 7compatible sources. I run "insecure extensions" and "extensions updates" from a 6.x caretaker server. I got error like
Fatal error: Class 'tx_caretakerinstance_ServiceFactory' not found
in typo3conf/ext/caretaker_instance/eid/eid.tx_caretakerinstance.php on line 43
As I narrowed it down it comes by an upplerclass "Classes" in autoload.php. I changed the folder name in file system and all occurrences to "Classes" and it worked.
ext_autoload.php:$extensionClassesPath = $extensionPath . 'Classes/';
I am not sure about standards regarding extensions folder names, but the extension builder has all folders in upper case. And that probably is along an extbase standard.
Thanks for testing. Could you create a PR for your change?
I'd love to. But I can't. For by me changing the "classes" folder name, I imply having the complete extension updated to a folder structure more developers would be familiar with. I cannot offer this as I probably lack the imperience. I could only offer an update with lower case "classes" folder. Will send you a PR for that one.