derhansen / sf_event_mgt

An event management and registration extension for TYPO3 CMS based on ExtBase and Fluid.
GNU General Public License v2.0
57 stars 54 forks source link

TypeError when page history is shown #1251

Closed rbnzlknb closed 3 weeks ago

rbnzlknb commented 3 weeks ago

Extension version

7.4.3

TypeError when the TYPO3 page history is called for a page with an event plugin.

DERHANSEN\SfEventMgt\Hooks\TemplateLayouts::getTemplateLayoutsFromTsConfig(): Argument #1 ($pageUid) must be of type int, null given, called in /var/www/html/vendor/derhansen/sf_event_mgt/Classes/Hooks/TemplateLayouts.php on line 26

Steps to reproduce

  1. Add and save an event plugin pieventlist - FlexForm settings are saved.
  2. Open page history / undo

The workspace module also no longer works on pages with the event plugin.

Server configuration

TYPO3 version: 12.4.17

PHP version: 8.2.22

rbnzlknb commented 3 weeks ago

Duplicate of #1250