CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #9849

Update! > it does not update keywords field for pages without subpages

Added by Nikolay Orlenko over 2 years ago. Updated over 2 years ago.

Status:New Start date:2010-09-20
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:- Spent time: -
Target version:-
Votes: 0

Description

Reproduce:
1. Version 1.1.5
2. In extension manager > pmkautokeywords > Update! tool
3. "Branch of pagetree" selected RootPage
4. "Use autokeywords?" checked
5. "Trigger update of autokeywords" is selected to "yes"
6. After clickung on "Update" button tool show correct pagetree structure, But:

Result: Pages wich not have child subpages do not update by extension.

Proposal: In file EXT:pmkautokeywords/class.ext_update.php add lines before line ## 168

$pageCurrent = $this->getRecords('pages', 'deleted=0 AND hidden=0 AND (doktype=1 OR doktype=6 OR doktype=4 OR doktype=7) AND uid='.$uid);
$page = $pageCurrent['0'];

Best regards, Nikolay

Also available in: Atom PDF