Project

General

Profile

Actions

Bug #63918

closed

After deleting a page or adding it to the trash, the entry in "sys_category_record_mm" is still present.

Added by Sammy Baghdadi almost 10 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Categorization API
Target version:
-
Start date:
2014-12-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

After deleting a page or adding it to the trash, the entry in "sys_category_record_mm" is still present.

This causes an issue in the frontend while using category's for building menus and pages as menu-items. There will be empty entries displayed.

While deleting a page the entrie in "sys_category_record_mm" should be deleted or for page in the trash the record should be marked as deleted or similar.


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #76222: sys_category_record_mm doesn't get updated when deleting pages and recordsAccepted2016-05-18

Actions
Actions #1

Updated by Georg Ringer almost 10 years ago

  • Status changed from New to Needs Feedback

How to you build the menu?

It is default that the mm table is not touched while deleting a page.

Actions #2

Updated by Sammy Baghdadi almost 10 years ago

lib.slider = HMENU
lib.slider {
    special = categories
    special {
        value = 1
        sorting = title
        order = desc
    }
    1 = TMENU
    1 {
        wrap = <div class="xxx"><ul class="xxx">|</ul></div>
        NO {
            ATagTitle.field = title
            wrapItemAndSub = <li>|</li>
            stdWrap.cObject = COA
            stdWrap.cObject {
                10 = FILES
                10 {
                    references {
                        table = pages
                        uid.field = uid
                        fieldName = media
                    }
                    renderObj = IMAGE
                    renderObj {
                        file {
                            import.data = file:current:publicUrl
                            width = 1000c
                            height = 300c
                        }
                        required = 1
                    }
                    stdWrap.required = 1
                }
            }
        }
    }
}

lib.xxx < lib.slider
lib.xxx {
    special.value = 2
    1.wrap = <div class="module"><h5>xxx</h5><div class="xxx"><ul class="xxx">|</ul></div></div>
    1.NO.altTarget = _blank
    1.NO.stdWrap.cObject.10.renderObj.file {
        width = 135c
        height = 66c
    }
}

That's the TS we wrote. Does it helps you?

Actions #3

Updated by Riccardo De Contardi over 9 years ago

  • Assignee set to Sammy Baghdadi

I performed a test with a fresh installation of TYPO3 CMS 6.2.12; using the TS code you provided, I see that when deleting a page, the item in the menu is correctly removed.
I just wrote:

page=PAGE
page.12 < lib.slider
page.13 < lib.xxx

Can you test again? Or should I perform a different test?

Actions #4

Updated by Alexander Opitz about 9 years ago

  • Status changed from Needs Feedback to Closed
  • Assignee deleted (Sammy Baghdadi)
  • Target version deleted (next-patchlevel)

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF