Issue Bug Closed

#87649Subgroup of a fe_group is lost if subgroup is hidden and parent saved again

Stephan Großberndt 02/04/19, 21:01 updated 05/07/19, 12:13

Description

Since like forever the TCA definition of the column subgroup in fe_groups contains 'foreign_table_where' => 'AND NOT(fe_groups.uid = ###THIS_UID###) AND fe_groups.hidden=0 ORDER BY fe_groups.title'.

The filter fe_groups.hidden=0 filter poses a problem as it will lead to a lost connection to a hidden subgroup:

If fe_group B is a subgroup of A it is shown as a subgroup in A. When you edit B and hide it, reopen A and just change another detail like description and save it A loses the subgroup B.

Reviews 2