Bug #21715
closedmm-data in list view after deleting the foreign entry still showing
0%
Description
Example setup with TT-News:
In the backend after editing a news and relating a news category to this news, a mm-entry in the data base is written. In the list view column "category", the name of the category is shown (see screenshot).
After deleting the category, the category name is still shown in the news list column "category" in all related news. "n/a" should appear instead of this.
The mm-entry still exists, the deleted-flag is set to 1, which should be fine.
Suggestion: Before outputing data in a mm-related column, enableField() in dblist or t3lib_befunc should be used. At least "AND deleted=0" should be added to the specific query.
This is a behaviour for all mm-relations, not only for news.
Best,
Sebastian
(issue imported from #M12796)
Files