Issue Bug Closed

#21715mm-data in list view after deleting the foreign entry still showing

Anonymous 11/27/09, 13:21 updated 09/10/13, 09:01

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.