cart icon indicating copy to clipboard operation
cart copied to clipboard

History/Undo on cart plugin shows error

Open danieljanek78 opened this issue 1 year ago • 2 comments

Bug Report

Current Behavior Try to open "history/undo" on ext:cart plugin

Expected behavior/output Should show history

Environment

  • TYPO3 version(s): 12.4.23
  • cart version: 9.1.1
  • Is your TYPO3 installation set up with Composer (Composer Mode): yes
  • OS: OSX

Open history/undo on a ext:cart plugin shows error in backend: Extcode\Cart\Hooks\ItemsProcFunc::getPageId(): Argument #1 ($pid) must be of type int, null given, called in ......../vendor/extcode/cart/Classes/Hooks/ItemsProcFunc.php on line 41

danieljanek78 avatar Dec 10 '24 12:12 danieljanek78

What about this Issue? Any updates? Thanks for Information.

danieljanek78 avatar Feb 18 '25 15:02 danieljanek78

@danieljanek78 I can't reproduce the error. I can click the "History/Undo" option from the context menu of the cart plugin and see all the versions available.

Can you provide a test setup, at least a database with the necessary tables and datasets? In the best case you can provide a running ddev setup so that I can find the cause of the error. Perhaps you can describe a step by step instruction how to reproduce the error.

Otherwise, I would assume that somehow the data for this option has been corrupted.

extcode avatar Feb 21 '25 12:02 extcode