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.
Category:
Categorization API
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 open — 0 closed)
- 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.
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?
- 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?
- 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.
Also available in: Atom
PDF