Closed michaelgawlik closed 8 years ago
do you work with a multilanguage metamodels?
no,
normaly I check translation, choose 'German', check fallback language and thats it.
so I read about the 'alias - translation' issue and create a new MM without any translation box checked.
same behavior.
its possible to post your filter rule(s) as screenshot
here it is:
checked it at home on another project (same contao, dcg and mm-versions) - can't reproduce the error.
I removed Metamodels + my mm_tables completly... but I left different modules (mm lists) on some sites. Not those that I used.
Now I cleaned up a bit better (deleted every mm-list (ce) + all mm-modules) ... et voilà - it works!
hmm..? magic...
Checklist before I submit this issue report
I confirm that:
My environment is:
(Please fill in the actual values from your environment)
Issue description
Frontend 'Detail-Link' (Filter, Alias, auto_item) doesn't work.
`[06-Sep-2016 17:29:48 Europe/Berlin] PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Could get metamodel id: 0' thrown in J:\Projekte___Xampp\htdocs\pura\composer\vendor\metamodels\core\src\MetaModels\ItemList.php on line 361
0 J:\Projekte___Xampp\htdocs\pura\composer\vendor\metamodels\core\src\MetaModels\ItemList.php(270): MetaModels\ItemList->prepareMetaModel()
1 J:\Projekte___Xampp\htdocs\pura\composer\vendor\metamodels\core\src\MetaModels\FrontendIntegration\HybridList.php(104): MetaModels\ItemList->setMetaModel('0', '0')
2 J:\Projekte___Xampp\htdocs\pura\system\modules\core\classes\Hybrid.php(239): MetaModels\FrontendIntegration\HybridList->compile()
3 J:\Projekte___Xampp\htdocs\pura\composer\vendor\metamodels\core\src\MetaModels\FrontendIntegration\MetaModelHybrid.php(102): Contao\Hybrid->generate()
4 J:\Projekte___Xampp\htdocs\pura\composer\vendor\metamodels\core\src\MetaModels\FrontendIntegration\HybridList.php(54): MetaModels\FrontendIntegration\MetaModelHybrid->generate()
5 J:\Projekte___Xampp\htdocs\pura\system\modules\core\library\Contao\Controller.php(321): MetaModels\FrontendIntegration\HybridList->generate()
6 J:\Projekte___Xampp\htdocs\pura\system\modules\core\pages\PageRegular.php(137): Contao\Controller::getFrontendModule(Object(Contao\ModuleModel), 'Offer')
7 J:\Projekte___Xampp\htdocs\pura\system\modules\core\controllers\FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)
8 J:\Projekte___Xampp\htdocs\pura\index.php(20): Contao\FrontendIndex->run()
9 {main}`
But there is no MM with ID 0 ... it starts by 1.
Steps to reproduce
Describe the behaviour of the application