Project

General

Profile

Actions

Bug #14618

closed

checkForEncryptedValue() must be of the type string

Added by Nicola Chiapolini 3 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Enis Nuredini
Target version:
Start date:
28.08.2022
Due date:
% Done:

0%

Estimated time:
Discuss:
Prio Planung:
No

Description

Meine Test hatten noch ein Problem gefunden mit einem Formular das nur ein Datumsfeld enthält. Dieses ist in der DB NULL by default. Beim öffnen mit dem NULL wert erhalte ich den Fehler:
Argument 1 passed to IMATHUZH\Qfq\Core\Helper\EncryptDecrypt::checkForEncryptedValue() must be of the type string, null given, called in /var/www/htdocs/typo3conf/ext/qfq/Classes/Core/AbstractBuildForm.php on line 864


Date Column to modify contains `NULL`
-------------------------------------

2022.08.25 17:05:15 +0200, Reference: 63078fab1e940

Generic Error: Argument 1 passed to IMATHUZH\Qfq\Core\Helper\EncryptDecrypt::checkForEncryptedValue() must be of the type string, null given, called in /var/www/htdocs/typo3conf/ext/qfq/Classes/Core/AbstractBuildForm.php on line 864

Debug
-----

Edit:         Form: [...]   FormElement: [...]

FE column:    Set language

toUser:       Generic Error: Argument 1 passed to IMATHUZH\Qfq\Core\Helper\EncryptDecrypt::checkForEncryptedValue() must be of the type string, null given, called in /var/www/htdocs/typo3conf/ext/qfq/Classes/Core/AbstractBuildForm.php on line 864

support:
#0 /var/www/htdocs/typo3conf/ext/qfq/Classes/Core/AbstractBuildForm.php(864): IMATHUZH\Qfq\Core\Helper\EncryptDecrypt::checkForEncryptedValue()
#1 /var/www/htdocs/typo3conf/ext/qfq/Classes/Core/AbstractBuildForm.php(398): IMATHUZH\Qfq\Core\AbstractBuildForm->elements()
#2 /var/www/htdocs/typo3conf/ext/qfq/Classes/Core/BuildFormBootstrap.php(963): IMATHUZH\Qfq\Core\AbstractBuildForm->process()
#3 /var/www/htdocs/typo3conf/ext/qfq/Classes/Core/QuickFormQuery.php(554): IMATHUZH\Qfq\Core\BuildFormBootstrap->process()
#4 /var/www/htdocs/typo3conf/ext/qfq/Classes/Core/QuickFormQuery.php(285): IMATHUZH\Qfq\Core\QuickFormQuery->doForm()
#5 /var/www/htdocs/typo3conf/ext/qfq/Classes/Controller/QfqController.php(45): IMATHUZH\Qfq\Core\QuickFormQuery->process()
#6 /var/www/typo3_src-9.5.31/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php(318): IMATHUZH\Qfq\Controller\QfqController->showAction()
#7 /var/www/typo3_src-9.5.31/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php(167): TYPO3\CMS\Extbase\Mvc\Controller\ActionController->callActionMethod()
#8 /var/www/typo3_src-9.5.31/typo3/sysext/extbase/Classes/Mvc/Dispatcher.php(73): TYPO3\CMS\Extbase\Mvc\Controller\ActionController->processRequest()
#9 /var/www/typo3_src-9.5.31/typo3/sysext/extbase/Classes/Mvc/Web/FrontendRequestHandler.php(92): TYPO3\CMS\Extbase\Mvc\Dispatcher->dispatch()
#10 /var/www/typo3_src-9.5.31/typo3/sysext/extbase/Classes/Core/Bootstrap.php(172): TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler->handleRequest()
#11 /var/www/typo3_src-9.5.31/typo3/sysext/extbase/Classes/Core/Bootstrap.php(159): TYPO3\CMS\Extbase\Core\Bootstrap->handleRequest()
#12 [internal function]: TYPO3\CMS\Extbase\Core\Bootstrap->run()
#13 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(6015): call_user_func_array()
#14 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/ContentObject/UserContentObject.php(41): TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->callUserFunction()
#15 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(821): TYPO3\CMS\Frontend\ContentObject\UserContentObject->render()
#16 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(737): TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->render()
#17 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3854): TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSingle()
#18 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3815): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript_process()
#19 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3782): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->recursivelyReplaceIntPlaceholdersInContent()
#20 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Http/RequestHandler.php(187): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript()
#21 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Middleware/OutputCompression.php(46): TYPO3\CMS\Frontend\Http\RequestHandler->handle()
#22 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Frontend\Middleware\OutputCompression->process()
#23 /var/www/typo3_src-9.5.31/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelDataPersister.php(44): class@anonymous->handle()
#24 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Adminpanel\Middleware\AdminPanelDataPersister->process()
#25 /var/www/typo3_src-9.5.31/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelRenderer.php(46): class@anonymous->handle()
#26 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Adminpanel\Middleware\AdminPanelRenderer->process()
#27 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Middleware/ContentLengthResponseHeader.php(45): class@anonymous->handle()
#28 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Frontend\Middleware\ContentLengthResponseHeader->process()
#29 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Middleware/ShortcutAndMountPointRedirect.php(65): class@anonymous->handle()
#30 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Frontend\Middleware\ShortcutAndMountPointRedirect->process()
#31 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Middleware/PrepareTypoScriptFrontendRendering.php(118): class@anonymous->handle()
#32 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Frontend\Middleware\PrepareTypoScriptFrontendRendering->process()
#33 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Middleware/PageArgumentValidator.php(99): class@anonymous->handle()
#34 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Frontend\Middleware\PageArgumentValidator->process()
#35 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Middleware/MaintenanceMode.php(53): class@anonymous->handle()
#36 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Frontend\Middleware\MaintenanceMode->process()
#37 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Middleware/PageResolver.php(171): class@anonymous->handle()
#38 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Frontend\Middleware\PageResolver->process()
#39 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Middleware/StaticRouteResolver.php(62): class@anonymous->handle()
#40 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Frontend\Middleware\StaticRouteResolver->process()
#41 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Middleware/SiteBaseRedirectResolver.php(86): class@anonymous->handle()
#42 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Frontend\Middleware\SiteBaseRedirectResolver->process()
#43 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Middleware/PreviewSimulator.php(62): class@anonymous->handle()
#44 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Frontend\Middleware\PreviewSimulator->process()
#45 /var/www/typo3_src-9.5.31/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelInitiator.php(58): class@anonymous->handle()
#46 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Adminpanel\Middleware\AdminPanelInitiator->process()
#47 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Middleware/SiteResolver.php(68): class@anonymous->handle()
#48 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Frontend\Middleware\SiteResolver->process()
#49 /var/www/typo3_src-9.5.31/typo3/sysext/adminpanel/Classes/Middleware/SqlLogging.php(49): class@anonymous->handle()
#50 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Adminpanel\Middleware\SqlLogging->process()
#51 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Middleware/BackendUserAuthenticator.php(95): class@anonymous->handle()
#52 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Frontend\Middleware\BackendUserAuthenticator->process()
#53 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Middleware/FrontendUserAuthenticator.php(79): class@anonymous->handle()
#54 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Frontend\Middleware\FrontendUserAuthenticator->process()
#55 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Middleware/TypoScriptFrontendInitialization.php(90): class@anonymous->handle()
#56 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Frontend\Middleware\TypoScriptFrontendInitialization->process()
#57 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Middleware/EidHandler.php(50): class@anonymous->handle()
#58 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Frontend\Middleware\EidHandler->process()
#59 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Middleware/PreprocessRequestHook.php(57): class@anonymous->handle()
#60 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Frontend\Middleware\PreprocessRequestHook->process()
#61 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Middleware/NormalizedParamsAttribute.php(58): class@anonymous->handle()
#62 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Core\Middleware\NormalizedParamsAttribute->process()
#63 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Middleware/TimeTrackerInitialization.php(49): class@anonymous->handle()
#64 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(138): TYPO3\CMS\Frontend\Middleware\TimeTrackerInitialization->process()
#65 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(67): class@anonymous->handle()
#66 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/AbstractApplication.php(108): TYPO3\CMS\Core\Http\MiddlewareDispatcher->handle()
#67 /var/www/typo3_src-9.5.31/typo3/sysext/frontend/Classes/Http/Application.php(69): TYPO3\CMS\Core\Http\AbstractApplication->handle()
#68 /var/www/typo3_src-9.5.31/typo3/sysext/core/Classes/Http/AbstractApplication.php(120): TYPO3\CMS\Frontend\Http\Application->handle()
#69 /var/www/typo3_src-9.5.31/index.php(24): TYPO3\CMS\Core\Http\AbstractApplication->run()
#70 /var/www/typo3_src-9.5.31/index.php(25): {closure}()
#71 {main}

Report level key:       10

messageDebug: 

Type:                   User Report Exception

SQL before evaluation:  1

SQL final:

SQL Params:

Report column index:    1

Report column name:     title

Report column value:    Edit date of last assessment

current sip:
array (
'__dbIndexData' => '1',
'form' => 'bachelor_last-assessment',
'r' => '318',
's' => '63078f07f3ab6',
'urlparam' => '__dbIndexData=1&form=bachelor_last-assessment&r=318',
)

Page Id:                53
Content Id              135
FE User                 testsa
Actions #1

Updated by Carsten Rose 3 months ago

  • Tracker changed from Support to Bug
Actions #2

Updated by Carsten Rose 3 months ago

  • Assignee changed from Carsten Rose to Enis Nuredini
Actions #3

Updated by Enis Nuredini about 2 months ago

  • Status changed from In Progress to Ready to sync (develop)

Typeahead gives an array as value. There was already a check for this but executed to late (after checkForEncryptedValue). Now this is fixed.

Actions #4

Updated by Carsten Rose about 2 months ago

  • Target version changed from 23.1.0 to 22.10.1
Actions #5

Updated by Carsten Rose about 2 months ago

  • Status changed from Ready to sync (develop) to Closed
Actions

Also available in: Atom PDF