Bug #27131
closed
Publishing a page does not delete cache_treelist entry
Added by Thomas Trethan over 13 years ago.
Updated about 7 years ago.
Description
Publishing a page does not delete any cache_treelist entries. Here's what I traced:
tx_Workspaces_ExtDirect_ActionHandler.sendToNextStageExecute()
t3lib_TCEmain.process_cmdmap()
tx_cms_treelistCacheUpdate.processCmdmap_postProcess()
I think the problem ist, that the new workspace module uses process_cmdmap, which tx_cms_treelistCacheUpdate only hooks into for deleted pages. So the version-command is totally ignored.
Don't know, whether this is a Workspace or Core bug...
Regards, Tom
Temporarily fixed it by modifying processCmdmap_postProcess():
if ($table 'pages' && ($command 'delete' || ($command 'version' && $commandValue['action'] 'swap'))) {
- Status changed from New to Needs Feedback
Hi Tom,
how can i reproduce this?
Cheers
Mick
- Status changed from Needs Feedback to Accepted
I only see that issue if an page is deleted in workspace, after puplish the page tree should update the tree.
strange that it doesn't happen to you
I don't know what to tell you how to reproduce it, it simply happens with my installation
maybe any other circumstances cause this problem
I did a lot of debugging to come to the conclusion as mentioned in the description, but maybe the real reason is somewhere else?
could you tell me at which position in the source code the tree list cache should be updated on publishing a page in a workspace?
then I could check what why this particular code is not executed in my setup
- Category changed from Bugs to Workspaces
- Project changed from 624 to TYPO3 Core
- Category changed from Workspaces to Workspaces
- Target version set to 7.5
- Status changed from Accepted to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF