Stefan Heimes

Results 49 issues of Stefan Heimes

**What** Workaround **Where** https://github.com/contao-community-alliance/dc-general/blob/6ccec14aec79d839454805e6047ec24eec4a1c06/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/TreeView.php#L619 **Code** ``` php switch (6 /*$definition->getSortingMode()*/) { case 5: $treeClass = 'tree'; break; case 6: $treeClass = 'tree_xtnd'; break; default: } ```

fixme

**What** Workaround **Where** https://github.com/contao-community-alliance/dc-general/blob/6ccec14aec79d839454805e6047ec24eec4a1c06/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/TreeView.php#L424 **Code** ``` php switch (6 /*$definition->getSortingMode()*/) { case 6: $treeClass = 'tree_xtnd'; break; // case 5: default: $treeClass = 'tree'; } ```

fixme

**What** Add real tree mode here - intMode. **Where** https://github.com/contao-community-alliance/dc-general/blob/6ccec14aec79d839454805e6047ec24eec4a1c06/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/TreeView.php#L282 https://github.com/contao-community-alliance/dc-general/blob/6ccec14aec79d839454805e6047ec24eec4a1c06/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/TreeView.php#L295 https://github.com/contao-community-alliance/dc-general/blob/6ccec14aec79d839454805e6047ec24eec4a1c06/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/TreeView.php#L492

fixme

**What** Should be a property in this view, as we will end up here multiple times. **Where** https://github.com/contao-community-alliance/dc-general/blob/6ccec14aec79d839454805e6047ec24eec4a1c06/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/TreeView.php#L324

fixme

**What** Workaround **Where** https://github.com/contao-community-alliance/dc-general/blob/6ccec14aec79d839454805e6047ec24eec4a1c06/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/TreeView.php#L549 **Code** ``` php if ($this->getDataDefinition()->getSortingMode() == 5) { $arrReturn['panel'] = $this->panel(); } ```

fixme

**What** Shall we rather bail with "parent not found"? **Where** https://github.com/contao-community-alliance/dc-general/blob/6ccec14aec79d839454805e6047ec24eec4a1c06/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/TreeView.php#L228

fixme

**What** ForeignKey is not implemented yet. **Where** https://github.com/contao-community-alliance/dc-general/blob/6ccec14aec79d839454805e6047ec24eec4a1c06/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/ParentView.php#L243 **Code** ``` php if ($property && (($v != 'tstamp')/* || $property->get('foreignKey')*/)) { ```

fixme

**What** Protect against cut in no tree and no manual sorting view. **Where** https://github.com/contao-community-alliance/dc-general/blob/6ccec14aec79d839454805e6047ec24eec4a1c06/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/ActionHandler/SelectHandler.php#L146

fixme

**What** How to handle errors for one item? Abort and roll back or just log it and print the messages? **Where** https://github.com/contao-community-alliance/dc-general/blob/6ccec14aec79d839454805e6047ec24eec4a1c06/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/ActionHandler/SelectHandler.php#L126

fixme

**What** This is called way to often. Check why so often and try to cache the value. **Where** https://github.com/contao-community-alliance/dc-general/blob/6ccec14aec79d839454805e6047ec24eec4a1c06/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/ViewHelpers.php#L80

fixme