Wrong grouping of records in new element wizard
grouping of tables work perfect as long as each tables title was prepended with "LLL:EXT:"
But in case of f.e. pt_extbase the tables title is fixed in ctrl: "Bookmarks". In this "special" case the tables of pt_extbase and the tables of previous foreach-loop gets merged.
If you have a look into method "regularNew" you can see that $_EXTKEY was only created in case of "LLL:EXT:" but not in else-condition. Some lines deeper you work with: $groupName = empty($v['ctrl']['groupName']) ? $_EXTKEY : $v['ctrl']['groupName']; But $_EXTKEY was not defined.