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

Version 1.2.7 won't wok with config.sys_language_mode = strict #8

Open
fnagel opened this issue May 12, 2015 · 4 comments
Open

Version 1.2.7 won't wok with config.sys_language_mode = strict #8

fnagel opened this issue May 12, 2015 · 4 comments

Comments

@fnagel
Copy link

fnagel commented May 12, 2015

When using config.sys_language_mode = strict following error occurs:

#1: PHP Warning: spl_object_hash() expects parameter 1 to be object, null given in /typo3_src-6.2.10/typo3/sysext/extbase/Classes/Persistence/ObjectStorage.php line 147

Can somebody confirm this issue? Any idea how to fix this in a quick way?

@froemken
Copy link
Contributor

Hello fnagel. This is more a core bug. Same problem in tx_news and many other extensions. As long as the core has not solved it you can try my extension repair_translation. With my pull request from today ws_flexslider would be localizable in strict mode, too.

@fnagel
Copy link
Author

fnagel commented Sep 19, 2016

Thanks for coming back to this! Even if it's no longer urgent ;-)

Your extension looks promising! Whats the difference to the faltranslation extension by t3easy?

It's getting harder and harder to understand whats actually working in which version of TYPO3 / extbase. A comparison table for localization / versioning / FCE extensions busg / featurs doesn't exist, or does it?

@froemken
Copy link
Contributor

t3easy replaces multiple core methods to get the translation working. Further you will only see images which don't have a default translation (l10n_parent=0). So it hides images which are translated into current language in strict mode.
I use only one hook. No replacing of core features. Further you will see translated records with AND without parent in my extension in strict mode.

@fnagel
Copy link
Author

fnagel commented Sep 19, 2016

Sounds great. Will definitely give it a try with one of my upcoming projects!

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

2 participants