IchHabRecht / content_defender

Define allowed or denied content element types in your backend layouts
GNU General Public License v2.0
81 stars 38 forks source link

ext_emconf.php '_md5_values_when_last_written' generate log entry #145

Open nilesh-nitsan opened 1 year ago

nilesh-nitsan commented 1 year ago

In line https://github.com/IchHabRecht/content_defender/blob/0dc1b7cbb7ff393ba7594d5a875278dc388d78e1/ext_emconf.php#L38

I will generate an error log in a log file, like below 👇

./web/typo3conf/ext/content_defender/ext_emconf.php:38: '_md5_values_when_last_written' => 'a:36:{s:9:"ChangeLog";s:4:"1a74";s:7:"LICENSE";s:4:"b234";s:9:"README.md";s:4:"1ce4";s:13:"composer.json";s:4:"631f";s:13:"composer.lock";s:4:"6dc4";s:14:"ext_tables.php";s:4:"cdf1";s:16:"phpunit.xml.dist";s:4:"316a";s:24:"sonar-project.properties";s:4:"ee02";s:52:"Classes/BackendLayout/BackendLayoutConfiguration.php";s:4:"9ac6";s:66:"Classes/BackendLayout/ColumnConfigurationManipulationInterface.php";s:4:"679f";s:47:"Classes/Exception/MissingInterfaceException.php";s:4:"9a79";s:54:"Classes/Form/Exception/AccessDeniedColPosException.php";s:4:"05f6";s:47:"Classes/Form/FormDataProvider/TcaCTypeItems.php";s:4:"7a82";s:48:"Classes/Form/FormDataProvider/TcaColPosItems.php";s:4:"4c14";s:41:"Classes/Hooks/AbstractDataHandlerHook.php";s:4:"5e07";s:39:"Classes/Hooks/CmdmapDataHandlerHook.php";s:4:"8d04";s:40:"Classes/Hooks/DatamapDataHandlerHook.php";s:4:"dfd4";s:33:"Classes/Hooks/WizardItemsHook.php";s:4:"226b";s:40:"Classes/Repository/ContentRepository.php";s:4:"a704";s:36:"Resources/Public/Icons/Extension.png";s:4:"f488";s:47:"Tests/Functional/AbstractFunctionalTestCase.php";s:4:"83ec";s:80:"Tests/Functional/Fixtures/Classes/ContentElement/NewContentElementController.php";s:4:"6f3a";s:69:"Tests/Functional/Fixtures/Classes/Hooks/SimpleSelectboxSingleHook.php";s:4:"19ea";s:68:"Tests/Functional/Fixtures/Configuration/TCA/Overrides/tt_content.php";s:4:"0d0a";s:44:"Tests/Functional/Fixtures/Database/pages.xml";s:4:"7199";s:61:"Tests/Functional/Fixtures/Database/pages_language_overlay.xml";s:4:"49d9";s:49:"Tests/Functional/Fixtures/Database/tt_content.xml";s:4:"8929";s:61:"Tests/Functional/Fixtures/TSconfig/NewContentElementWizard.ts";s:4:"ca7e";s:60:"Tests/Functional/Fixtures/TSconfig/BackendLayouts/Default.ts";s:4:"9e42";s:60:"Tests/Functional/Fixtures/TSconfig/BackendLayouts/Subpage.ts";s:4:"e1da";s:60:"Tests/Functional/Form/FormDataProvider/TcaCTypeItemsTest.php";s:4:"cc19";s:61:"Tests/Functional/Form/FormDataProvider/TcaColPosItemsTest.php";s:4:"d1ae";s:52:"Tests/Functional/Hooks/CmdmapDataHandlerHookTest.php";s:4:"b2ad";s:53:"Tests/Functional/Hooks/DatamapDataHandlerHookTest.php";s:4:"a867";s:46:"Tests/Functional/Hooks/WizardItemsHookTest.php";s:4:"f0ec";s:47:"Tests/Unit/Repository/ContentRepositoryTest.php";s:4:"2983";}',

So, '_md5_values_when_last_written' key is really required in the ext_emconf.php file?

IchHabRecht commented 1 year ago

Hi @nilesh-nitsan,

Sorry but I don't understand the question here. Please give me some more information about your problem

nilesh-nitsan commented 1 year ago

Hi, @IchHabRecht Thanks for your quick response,

Is there anything related to pages_language_overlay, which is obsolete since TYPO3 9 , https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/9.0/Important-82445-MigratePagesLanguageOverlayIntoPages.html

https://i.imgur.com/STWNAmy.png

So, is it really make an issue with any CLI command with PHP v8.1 or v8.2?

If not then it's fine. But I think it will create an error log. That's why I have put it for more information related to this.

Hope you understand my concern.

Cheers!

IchHabRecht commented 1 year ago

Hi @nilesh-nitsan,

Fixture files are related to functional tests only and do not have any relations with your system.