Project

General

Profile

Bug #96116

Updated by Georg Ringer almost 3 years ago

Using mask properties on the imgResource function results in an error message. 

 *TS:* 

 <pre> 
 lib.imageTest = IMAGE 
 lib.imageTest { 
     file = fileadmin/pizpalue.jpg 
     file { 
         width = 2000c 
         height = 300c-60 
         m { 
             bgImg = fileadmin/pizpalue-overlay-bg.jpg 
             mask = fileadmin/pizpalue-overlay-mask.jpg 
         } 
     } 
 } 
 </pre> 

 *Fluid template:* 

 <pre> 
 <f:cObject typoscriptObjectPath="lib.imageTest"></f:cObject> 
 </pre> 

 or alternative with TypoScript @page.20 < lib.imageTest@ 

 *Error message:* 

 <pre> 
 Exception: Serialization of 'Closure' is not allowed 

 in /var/www/html/.build/public/typo3/sysext/core/Classes/Resource/ProcessedFileRepository.php line 243 

                 ), 
                 $queryBuilder->expr()->eq('task_type', $queryBuilder->createNamedParameter($taskType, \PDO::PARAM_STR)), 
                 $queryBuilder->expr()->eq( 
                     'configurationsha1', 
                     $queryBuilder->createNamedParameter(sha1(serialize($configuration)), \PDO::PARAM_STR) 
                 ) 
             ) 
             ->execute() 
             ->fetchAssociative(); 
 </pre> 

Back