Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fehler bei erstellung von MetaModel bei von Abhängigkeiten geladener DC_General Version #593

Closed
Sorato95 opened this issue Sep 25, 2014 · 4 comments
Labels
bug A bug! A bug! Fast, squish it! question We have a question, please elaborate on the ticket. wrong repository This ticket is in the wrong repository and should get moved.
Milestone

Comments

@Sorato95
Copy link

Hallo zusammen,

Ich habe über den Composer Installier MetaModel installiert und dabei wurde die DC_General Version 2.0.0-beta20 installiert.

Mit dieser Version konnte ich kein Metamodel anlegen, daher hab ich die DC_General Version aus der 2.0.x-dev genommen und dann hats funktioniert.

Behoben wäre der Fehler also wenn man die Abhängigkeit ändert.

Grüße

@discordier
Copy link
Member

Das Problem ist bekannt, kann jedoch aufgrund der bislang noch nicht kompletten implementierung der neuen Sortierung im DCG noch nicht geaendert werden, leider.
Es ist ganz oben auf meiner TODO Liste, aber ich komme leider nicht schneller voran als schleppend.
Ich wyrde gerne was besseres berichten.

@tim-bec tim-bec added the bug A bug! A bug! Fast, squish it! label Oct 6, 2014
@ways2web
Copy link

ways2web commented Oct 9, 2014

mit dem Update auf die Version 2.0.c-dev wirst du jetzt aber auch nicht mehr glücklich werden.
Das letzte Update hat mir alle select attribute in einem MM gekillt.

Warning: asort() expects parameter 1 to be array, null given in composer/vendor/metamodels/attribute_select/src/MetaModels/DcGeneral/Events/Table/Attribute/Select/PropertyAttribute.php on line 178

0 [internal function]: __error(2, 'asort() expects...', '/home/client198...', 178, Array)
1 composer/vendor/metamodels/attribute_select/src/MetaModels/DcGeneral/Events/Table/Attribute/Select/PropertyAttribute.php(178): asort(NULL)
2 [internal function]: MetaModels\DcGeneral\Events\Table\Attribute\Select\PropertyAttribute::getTableNames(Object(ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent), 'dc-general.view...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
3 composer/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(164): call_user_func('MetaModels\\DcGe...', Object(ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent), 'dc-general.view...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
4 composer/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(53): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'dc-general.view...', Object(ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent))
5 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Event/EventPropagator.php(116): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('dc-general.view...', Object(ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent))
6 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Event/EventPropagator.php(96): ContaoCommunityAlliance\DcGeneral\Event\EventPropagator->dispatch('dc-general.view...', Object(ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent))
7 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Event/EventPropagator.php(59): ContaoCommunityAlliance\DcGeneral\Event\EventPropagator->propagateExact('dc-general.view...', Object(ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent), Array)
8 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/ContaoWidgetManager.php(436): ContaoCommunityAlliance\DcGeneral\Event\EventPropagator->propagate('dc-general.view...', Object(ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent), 'tl_metamodel_at...', 'select_table')
9 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/ContaoWidgetManager.php(625): ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\ContaoWidgetManager->getWidget('select_table', NULL)
10 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/EditMask.php(424): ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\ContaoWidgetManager->renderWidget('select_table', false, NULL)
11 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/EditMask.php(682): ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\EditMask->buildFieldSet(Object(ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\ContaoWidgetManager), Object(ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Palette), NULL)
12 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/BaseView.php(1317): ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\EditMask->execute()
13 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/BaseView.php(1290): ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\BaseView->createEditMask(Object(ContaoCommunityAlliance\DcGeneral\Data\DefaultModel), Object(ContaoCommunityAlliance\DcGeneral\Data\DefaultModel), NULL, NULL)
14 [internal function]: ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\BaseView->edit()
15 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/BaseView.php(155): call_user_func_array(Array, Array)
16 [internal function]: ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\BaseView->handleAction(Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent), 'dc-general.acti...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
17 composer/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(164): call_user_func(Array, Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent), 'dc-general.acti...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
18 composer/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(53): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'dc-general.acti...', Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
19 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Event/EventPropagator.php(116): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('dc-general.acti...', Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
20 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Event/EventPropagator.php(69): ContaoCommunityAlliance\DcGeneral\Event\EventPropagator->dispatch('dc-general.acti...', Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
21 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Controller/DefaultController.php(124): ContaoCommunityAlliance\DcGeneral\Event\EventPropagator->propagate('dc-general.acti...', Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent), Array)
22 composer/vendor/metamodels/core/src/MetaModels/BackendIntegration/Module.php(238): ContaoCommunityAlliance\DcGeneral\Controller\DefaultController->handle(Object(ContaoCommunityAlliance\DcGeneral\Action))
23 composer/vendor/metamodels/core/src/MetaModels/BackendIntegration/Module.php(263): MetaModels\BackendIntegration\Module->runDC()
24 composer/vendor/metamodels/core/src/MetaModels/BackendIntegration/Module.php(283): MetaModels\BackendIntegration\Module->performNormal()
25 system/modules/core/classes/Backend.php(271): MetaModels\BackendIntegration\Module->generate()
26 contao/main.php(142): Contao\Backend->getBackendModule('metamodels')
27 contao/main.php(293): Main->run()
28 {main}

@discordier
Copy link
Member

@ways2web das ist ein issue des select Attributs Bitte dort melden. Dann setz ich mich gleich dran.

@ways2web
Copy link

ah ok. thx.. wäre echt toll

@discordier discordier added this to the 2.0.0 milestone Oct 15, 2014
@tim-bec tim-bec added the wrong repository This ticket is in the wrong repository and should get moved. label Oct 22, 2014
@discordier discordier added the question We have a question, please elaborate on the ticket. label Dec 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug! A bug! Fast, squish it! question We have a question, please elaborate on the ticket. wrong repository This ticket is in the wrong repository and should get moved.
Projects
None yet
Development

No branches or pull requests

4 participants