Liebes Contao-Forum,
ich nutze Contao 4.13.32 und Metamodels 2.3 (EA).
Nach heutiger Aktualisierung aller Pakete funktioniert die Umkreissuche nicht mehr. Beim Anlegen des Filters -> Datenmodus: Multimodus -> Auswahl des Attributs für Lat oder Lng erscheint dieser Fehler:
assert($attribute instanceof IAttribute)
Stacktrace:
Code:
AssertionError:
assert($attribute instanceof IAttribute)
at vendor/metamodels/filter_perimetersearch/src/EventListener/DcGeneral/Table/FilterSetting/AttributeListener.php:180
at assert()
(vendor/metamodels/filter_perimetersearch/src/EventListener/DcGeneral/Table/FilterSetting/AttributeListener.php:180)
at MetaModels\FilterPerimetersearchBundle\EventListener\DcGeneral\Table\FilterSetting\AttributeListener->encodeValue()
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:118)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(vendor/symfony/event-dispatcher/EventDispatcher.php:230)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:59)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(vendor/contao-community-alliance/dc-general/src/Contao/View/Contao2BackendView/ContaoWidgetManager.php:135)
at ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\ContaoWidgetManager->encodeValue()
(vendor/contao-community-alliance/dc-general/src/Contao/View/Contao2BackendView/ContaoWidgetManager.php:500)
at ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\ContaoWidgetManager->processInput()
(vendor/contao-community-alliance/dc-general/src/Contao/View/Contao2BackendView/EditMask.php:312)
at ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\EditMask->processInput()
(vendor/contao-community-alliance/dc-general/src/Contao/View/Contao2BackendView/EditMask.php:968)
at ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\EditMask->execute()
(vendor/contao-community-alliance/dc-general/src/Contao/View/Contao2BackendView/ActionHandler/CreateHandler.php:155)
at ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\ActionHandler\CreateHandler->process()
(vendor/contao-community-alliance/dc-general/src/Contao/View/Contao2BackendView/ActionHandler/CreateHandler.php:107)
at ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\ActionHandler\CreateHandler->handleEvent()
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:118)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(vendor/symfony/event-dispatcher/EventDispatcher.php:230)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:59)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(vendor/contao-community-alliance/dc-general/src/View/ActionHandler/CallActionTrait.php:48)
at ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\ActionHandler\PasteHandler->callAction()
(vendor/contao-community-alliance/dc-general/src/Contao/View/Contao2BackendView/ActionHandler/PasteHandler.php:122)
at ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\ActionHandler\PasteHandler->process()
(vendor/contao-community-alliance/dc-general/src/Contao/View/Contao2BackendView/ActionHandler/PasteHandler.php:81)
at ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\ActionHandler\PasteHandler->handleEvent()
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:118)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(vendor/symfony/event-dispatcher/EventDispatcher.php:230)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:59)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(vendor/contao-community-alliance/dc-general/src/Controller/DefaultController.php:177)
at ContaoCommunityAlliance\DcGeneral\Controller\DefaultController->handle()
(vendor/metamodels/core/src/BackendIntegration/Module.php:80)
at MetaModels\BackendIntegration\Module->generate()
(vendor/contao/core-bundle/src/Resources/contao/classes/Backend.php:439)
at Contao\Backend->getBackendModule()
(vendor/contao/core-bundle/src/Resources/contao/controllers/BackendMain.php:168)
at Contao\BackendMain->run()
(vendor/contao/core-bundle/src/Controller/BackendController.php:49)
at Contao\CoreBundle\Controller\BackendController->mainAction()
(vendor/symfony/http-kernel/HttpKernel.php:163)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:75)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:202)
at Symfony\Component\HttpKernel\Kernel->handle()
(public/index.php:44)
Wenn ich bereits einen bestehenden Umkreisfilter anschaue, stehen in beiden Attributen gänzlich unbekannte Werte drin.
Bildschirmfoto 2024-04-15 um 13.52.14.png
Beim Aufruf der Seite im Frontend (ohne den Filter zu setzen) werden keine Orte angezeigt. Benutze ich diesen Filter dann aber, funktioniert es.
Bsp:
https://www.dfw24.de/filialuebersicht (nicht gesetzter Filter)
https://www.dfw24.de/filialuebersich...titude_range/5 (gesetzter Filter)
Das letzte Update war ein paar Tage her. Vielleicht habe ich eine wichtige Änderung verpasst?
Vielen Dank für eure Zeit.
Micha
PS: Das WechselIcon bei einem Checkbox Attribut funktioniert zwar, die Benutzerdefinierten Icons werden nur irgnoriert.