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

[Contao 3.2.11] BE MM Listenansicht und Fatal Error: Property sorting is not registered #454

Closed
cyberlussi opened this issue Jun 17, 2014 · 4 comments
Assignees
Labels
backend This seems to be a bug in the backend bug A bug! A bug! Fast, squish it! DC_General This ticket originated from or is directly related to DCG testing This ticket is reported to be fixed by a developer and should be tested.
Milestone

Comments

@cyberlussi
Copy link

Nach update auf dev-tng und klick auf ein MM zwecks Listenansicht im BE, kommt folgender Fehler (Bezugnehmend auf #400):

Fatal error: Uncaught exception ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralInvalidArgumentException with message Property sorting is not registered. thrown in composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/DataDefinition/Definition/DefaultPropertiesDefinition.php on line 116

#0 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/BaseView.php(354): ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\DefaultPropertiesDefinition->getProperty('sorting')
#1 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/ListView.php(191): ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\BaseView->getGroupingMode()
#2 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/ListView.php(326): ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\ListView->viewList(Object(ContaoCommunityAlliance\DcGeneral\Data\DefaultCollection))
#3 [internal function]: ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\ListView->showAll()
#4 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/BaseView.php(155): call_user_func_array(Array, Array)
#5 [internal function]: ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\BaseView->handleAction(Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
#6 composer/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(164): call_user_func(Array, Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
#7 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))
#8 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Event/EventPropagator.php(120): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('dc-general.acti...', Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
#9 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Event/EventPropagator.php(72): ContaoCommunityAlliance\DcGeneral\Event\EventPropagator->dispatch('dc-general.acti...', Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
#10 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Controller/DefaultController.php(122): ContaoCommunityAlliance\DcGeneral\Event\EventPropagator->propagate('dc-general.acti...', Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent), Array)
#11 composer/vendor/metamodels/core/src/system/modules/metamodels/MetaModels/BackendIntegration/Module.php(210): ContaoCommunityAlliance\DcGeneral\Controller\DefaultController->handle(Object(ContaoCommunityAlliance\DcGeneral\Action))
#12 composer/vendor/metamodels/core/src/system/modules/metamodels/MetaModels/BackendIntegration/Module.php(233): MetaModels\BackendIntegration\Module->runDC()
#13 composer/vendor/metamodels/core/src/system/modules/metamodels/MetaModels/BackendIntegration/Module.php(251): MetaModels\BackendIntegration\Module->performNormal()
#14 system/modules/core/classes/Backend.php(272): MetaModels\BackendIntegration\Module->generate()
#15 contao/main.php(142): Contao\Backend->getBackendModule('metamodel_mm_ku...')
#16 contao/main.php(293): Main->run()
#17 {main}

Kontext: contao 3.2.11+ mm core dev-tng (c11f1d6) + bundle_all 1.0.1

CREATE TABLE `mm_kurskategorien` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pid` int(10) unsigned NOT NULL,
  `sorting` int(10) unsigned NOT NULL DEFAULT '0',
  `tstamp` int(10) unsigned NOT NULL DEFAULT '0',
  `alias` varchar(255) NOT NULL DEFAULT '',
  `titel` varchar(255) NOT NULL DEFAULT '',
  `details` text,
  `titelbild` blob,
  `anlagen_ja` char(1) NOT NULL DEFAULT '',
  `anlagen` blob,
  `published` char(1) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;
@bastibuck
Copy link

Kann ich so bestätigen, gleicher Fehler bei mir.
MM Core dev-tng (f69066) und nur das attribute_text installiert (über composer).

@Olli
Copy link

Olli commented Jun 20, 2014

Selbiges hier

@discordier
Copy link
Member

Mit dem aktuellsten Core und DCG klappt es in der Installation von @tim-bec wieder.

Bitte sicherstellen dass man testweise den aktuellsten core und DCG installiert hat (ggf. beide Versionen auf den branch direkt setzen. DCG == dev-develop, Core == dev-tng).

Edit: DCG in Version contao-community-alliance/dc-general@d9c6c44

@cyberlussi
Copy link
Author

Nach einem Update, erscheint keine Fehlermeldung mehr. Muss mich aber auch #414 anschließen. Dieses Issue kann ich von meiner Seite zumindest als erledigt melden. Danke!

Loading composer repositories with package information
Updating dependencies
  - Removing symfony/event-dispatcher (v2.3.16)
  - Installing symfony/event-dispatcher (v2.5.0)
    Downloading

  - Removing contao-community-alliance/event-dispatcher (1.1.1)
  - Installing contao-community-alliance/event-dispatcher (1.2)
    Downloading

  - installed 1 files
  - Removing contao-community-alliance/dc-general (2.0.0-alpha9)
  - Installing contao-community-alliance/dc-general (2.0.0-alpha10)
    Downloading

  - installed 45 files
  - Removing metamodels/core (dev-tng f690661)
  - Installing metamodels/core (dev-tng 9415cca)
    Downloading

  - installed 364 files
Writing lock file
Generating autoload files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend This seems to be a bug in the backend bug A bug! A bug! Fast, squish it! DC_General This ticket originated from or is directly related to DCG testing This ticket is reported to be fixed by a developer and should be tested.
Projects
None yet
Development

No branches or pull requests

4 participants