{"action":"created","issue":{"url":"https://api.github.com/repos/contao-community-alliance/dc-general/issues/107","labels_url":"https://api.github.com/repos/contao-community-alliance/dc-general/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/contao-community-alliance/dc-general/issues/107/comments","events_url":"https://api.github.com/repos/contao-community-alliance/dc-general/issues/107/events","html_url":"https://github.com/contao-community-alliance/dc-general/issues/107","id":66555638,"number":107,"title":"Using Codefog Treepicker throws exception","user":{"login":"cboelter","id":550207,"avatar_url":"https://avatars.githubusercontent.com/u/550207?v=3","gravatar_id":"","url":"https://api.github.com/users/cboelter","html_url":"https://github.com/cboelter","followers_url":"https://api.github.com/users/cboelter/followers","following_url":"https://api.github.com/users/cboelter/following{/other_user}","gists_url":"https://api.github.com/users/cboelter/gists{/gist_id}","starred_url":"https://api.github.com/users/cboelter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboelter/subscriptions","organizations_url":"https://api.github.com/users/cboelter/orgs","repos_url":"https://api.github.com/users/cboelter/repos","events_url":"https://api.github.com/users/cboelter/events{/privacy}","received_events_url":"https://api.github.com/users/cboelter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-06T08:16:33Z","updated_at":"2015-04-08T10:07:50Z","closed_at":"2015-04-08T10:07:50Z","body":"I want to use this widget: https://github.com/codefog/contao-widget_tree_picker in one of my extensions. After choosing some entries I get the following error:\r\n```\r\nFatal error: Uncaught exception ContaoCommunityAlliance\\DcGeneral\\Exception\\DcGeneralRuntimeException with message The magic setter is not supported anymore! thrown in composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/Compatibility/DcCompat.php on line 109\r\n\r\n#0 system/modules/widget_tree_picker/classes/TreePickerHelper.php(191): ContaoCommunityAlliance\\DcGeneral\\Contao\\Compatibility\\DcCompat->__set('field', 'category')\r\n#1 system/modules/core/classes/Ajax.php(412): TreePicker\\TreePickerHelper->executePostActions('reloadTreepicke...', Object(ContaoCommunityAlliance\\DcGeneral\\Contao\\Compatibility\\DcCompat))\r\n#2 system/modules/core/classes/Ajax.php(194): Contao\\Ajax->executePostActionsHook(Object(ContaoCommunityAlliance\\DcGeneral\\Contao\\Compatibility\\DcCompat))\r\n#3 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Controller/Ajax.php(256): Contao\\Ajax->executePostActions(Object(ContaoCommunityAlliance\\DcGeneral\\Contao\\Compatibility\\DcCompat))\r\n#4 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/BaseView.php(466): ContaoCommunityAlliance\\DcGeneral\\Controller\\Ajax->executePostActions(Object(ContaoCommunityAlliance\\DcGeneral\\Contao\\Compatibility\\DcCompat))\r\n#5 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/DC_General.php(128): ContaoCommunityAlliance\\DcGeneral\\Contao\\View\\Contao2BackendView\\BaseView->handleAjaxCall()\r\n#6 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/DC_General.php(84): ContaoCommunityAlliance\\DcGeneral\\DC_General->checkAjaxCall()\r\n#7 system/modules/core/classes/Backend.php(393): ContaoCommunityAlliance\\DcGeneral\\DC_General->__construct('tl_postmanager_...', Array)\r\n#8 system/modules/core/controllers/BackendMain.php(126): Contao\\Backend->getBackendModule('postmanager')\r\n#9 contao/main.php(20): Contao\\BackendMain->run()\r\n#10 {main}\r\n```\r\nI see the point for not using magic getters and setters but I think the DcCompat is for handling these widgets which are not fully compatible with the DcGeneral. Is there any possiblity to add the magic setters again?"},"comment":{"url":"https://api.github.com/repos/contao-community-alliance/dc-general/issues/comments/90869186","html_url":"https://github.com/contao-community-alliance/dc-general/issues/107#issuecomment-90869186","issue_url":"https://api.github.com/repos/contao-community-alliance/dc-general/issues/107","id":90869186,"user":{"login":"cboelter","id":550207,"avatar_url":"https://avatars.githubusercontent.com/u/550207?v=3","gravatar_id":"","url":"https://api.github.com/users/cboelter","html_url":"https://github.com/cboelter","followers_url":"https://api.github.com/users/cboelter/followers","following_url":"https://api.github.com/users/cboelter/following{/other_user}","gists_url":"https://api.github.com/users/cboelter/gists{/gist_id}","starred_url":"https://api.github.com/users/cboelter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboelter/subscriptions","organizations_url":"https://api.github.com/users/cboelter/orgs","repos_url":"https://api.github.com/users/cboelter/repos","events_url":"https://api.github.com/users/cboelter/events{/privacy}","received_events_url":"https://api.github.com/users/cboelter/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T10:07:50Z","updated_at":"2015-04-08T10:07:50Z","body":"Oh I did not see, that there is a TreePicker in DcGeneral. Thanks for the Information. I think we close the ticket, because I see your points."}}