MetaModels/attribute_translatedcheckbox

$GLOBALS['METAMODELS']['filters']['select']['info_callback'] wirft Fehler

Closed this issue · 5 comments

$GLOBALS['METAMODELS']['filters']['select']['info_callback'] ruft im MetaModels\Helper\TranslatedCheckbox\Helper die Methode drawPublishedSetting() auf, wleche folgenden Fehler verursacht:

[04-Nov-2014 16:29:25 UTC] PHP Fatal error:  Class 'MetaModels\Dca\Filter' not found in /var/www/kundenprojekte/xxx/composer/vendor/metamodels/attribute_translatedcheckbox/src/system/modules/metamodelsattribute_translatedcheckbox/MetaModels/Helper/TranslatedCheckbox/Helper.php on line 191
[04-Nov-2014 16:29:25 UTC] PHP Stack trace:
[04-Nov-2014 16:29:25 UTC] PHP   1. {main}() /var/www/kundenprojekte/xxx/contao/main.php:0
[04-Nov-2014 16:29:25 UTC] PHP   2. Main->run() /var/www/kundenprojekte/xxx/contao/main.php:293
[04-Nov-2014 16:29:25 UTC] PHP   3. Contao\Backend->getBackendModule() /var/www/kundenprojekte/xxx/contao/main.php:142
[04-Nov-2014 16:29:25 UTC] PHP   4. MetaModels\BackendIntegration\Module->generate() /var/www/kundenprojekte/xxx/system/modules/core/classes/Backend.php:271
[04-Nov-2014 16:29:25 UTC] PHP   5. MetaModels\BackendIntegration\Module->performNormal() /var/www/kundenprojekte/xxx/composer/vendor/metamodels/core/src/MetaModels/BackendIntegration/Module.php:283
[04-Nov-2014 16:29:25 UTC] PHP   6. MetaModels\BackendIntegration\Module->runDC() /var/www/kundenprojekte/xxx/composer/vendor/metamodels/core/src/MetaModels/BackendIntegration/Module.php:263
[04-Nov-2014 16:29:25 UTC] PHP   7. ContaoCommunityAlliance\DcGeneral\Controller\DefaultController->handle() /var/www/kundenprojekte/xxx/composer/vendor/metamodels/core/src/MetaModels/BackendIntegration/Module.php:238
[04-Nov-2014 16:29:25 UTC] PHP   8. ContaoCommunityAlliance\DcGeneral\Event\EventPropagator->dispatch() /var/www/kundenprojekte/xxx/composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Controller/DefaultController.php:129
[04-Nov-2014 16:29:25 UTC] PHP   9. Symfony\Component\EventDispatcher\EventDispatcher->dispatch() /var/www/kundenprojekte/xxx/composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Event/EventPropagator.php:119
[04-Nov-2014 16:29:25 UTC] PHP  10. Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() /var/www/kundenprojekte/xxx/composer/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:53
[04-Nov-2014 16:29:25 UTC] PHP  11. call_user_func() /var/www/kundenprojekte/xxx/composer/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:164
[04-Nov-2014 16:29:25 UTC] PHP  12. ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\BaseView->handleAction() /var/www/kundenprojekte/xxx/composer/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:164
[04-Nov-2014 16:29:25 UTC] PHP  13. call_user_func_array() /var/www/kundenprojekte/xxx/composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/BaseView.php:155
[04-Nov-2014 16:29:25 UTC] PHP  14. ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\TreeView->showAll() /var/www/kundenprojekte/xxx/composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/BaseView.php:155
[04-Nov-2014 16:29:25 UTC] PHP  15. ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\TreeView->viewTree() /var/www/kundenprojekte/xxx/composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/TreeView.php:766
[04-Nov-2014 16:29:25 UTC] PHP  16. ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\TreeView->generateTreeView() /var/www/kundenprojekte/xxx/composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/TreeView.php:649
[04-Nov-2014 16:29:25 UTC] PHP  17. ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\TreeView->parseModel() /var/www/kundenprojekte/xxx/composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/TreeView.php:501
[04-Nov-2014 16:29:25 UTC] PHP  18. ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\BaseView->formatModel() /var/www/kundenprojekte/xxx/composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/TreeView.php:440
[04-Nov-2014 16:29:25 UTC] PHP  19. ContaoCommunityAlliance\DcGeneral\Event\EventPropagator->dispatch() /var/www/kundenprojekte/xxx/composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/BaseView.php:2231
[04-Nov-2014 16:29:25 UTC] PHP  20. Symfony\Component\EventDispatcher\EventDispatcher->dispatch() /var/www/kundenprojekte/xxx/composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Event/EventPropagator.php:119
[04-Nov-2014 16:29:25 UTC] PHP  21. Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() /var/www/kundenprojekte/xxx/composer/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:53
[04-Nov-2014 16:29:25 UTC] PHP  22. call_user_func() /var/www/kundenprojekte/xxx/composer/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:164
[04-Nov-2014 16:29:25 UTC] PHP  23. MetaModels\DcGeneral\Events\Table\FilterSetting\DrawSetting::modelToLabel() /var/www/kundenprojekte/xxx/composer/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:164
[04-Nov-2014 16:29:25 UTC] PHP  24. ContaoCommunityAlliance\DcGeneral\Event\EventPropagator->dispatch() /var/www/kundenprojekte/xxx/composer/vendor/metamodels/core/src/MetaModels/DcGeneral/Events/Table/FilterSetting/DrawSetting.php:220
[04-Nov-2014 16:29:25 UTC] PHP  25. Symfony\Component\EventDispatcher\EventDispatcher->dispatch() /var/www/kundenprojekte/xxx/composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Event/EventPropagator.php:119
[04-Nov-2014 16:29:25 UTC] PHP  26. Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() /var/www/kundenprojekte/xxx/composer/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:53
[04-Nov-2014 16:29:25 UTC] PHP  27. call_user_func() /var/www/kundenprojekte/xxx/composer/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:164
[04-Nov-2014 16:29:25 UTC] PHP  28. MetaModels\Helper\TranslatedCheckbox\Helper::drawPublishedSetting() /var/www/kundenprojekte/xxx/composer/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:164

MetaModels\Dca\Filter existiert bei mir wirklich nicht mehr, allerding ändert sich bei mir auch nix, wenn ich den info_callback auskommentiere. Kann das noch irgendwie eine "Altlast" sein?

Ist es, die Klasse existiert schon lange nicht mehr.

Muss man beheben,

Kann das nicht sogar ganz weg? Wenn ich das richtig verstanden habe macht drawPublishedSetting() das "Auge" im Backend, oder? Das habe ich aber auch, wenn ich den info_callback bei dem Attribut komplett kicke....

Nein, das zeichnet die Liste der Filter rules im Backend.

@davidmaack ist das noch aktuell oder kann geschlossen werden?

Hmm, ich würde sagen kann wech :)