b13 / menus

TYPO3 Extension for creating fast menus in a fast fashion
GNU General Public License v2.0
54 stars 22 forks source link

ListMenu Processor results in error when one of the given pages is deleted. #74

Closed magicHatOfTYPO3 closed 2 years ago

magicHatOfTYPO3 commented 2 years ago

we are using the B13\Menus\DataProcessing\ListMenu DataProcessor and populate it with data an editor may change:

10 = B13\Menus\DataProcessing\ListMenu
10 {
        if.isTrue.field = some_pages
        pages.field = some_pages
        as = someMenu
        titleField = nav_title // title
}

If the editor adds some pages to the field some_pages and then afterwards deletes one of them, the MenuProcessor results in an error in the frontend.

I will try to provide a patch for this issue later.

magicHatOfTYPO3 commented 2 years ago

Pull request fixing this issue: https://github.com/b13/menus/pull/75