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

Bug #32968

Wrong level in addEntry function

Added by Jasper Verbunt over 1 year ago. Updated 7 months ago.

Status:Rejected Start date:2012-01-04
Priority:Must have Due date:
Assignee:Sebastiaan de Jonge % Done:

0%

Category:Bugs Spent time: -
Target version:Advanced Sitemaps 1.1.3
Votes: 0

Description

On line 315 of class.tx_advancedsitemaps_pi1.php there is a bug.

'level' => ($s_table 'pages') ? intval($this->a_entries['pages:' . $a_record['pid']]) + 1 : intval($this->a_entries[$s_parent]['level']) + 1,

should be

'level' => ($s_table 'pages') ? intval($this->a_entries['pages:' . $a_record['pid']]['level']) + 1 : intval($this->a_entries[$s_parent]['level']) + 1,

History

Updated by Sebastiaan de Jonge 7 months ago

  • Status changed from New to Rejected

This is not an issue, it is simply the defenition of the parent page of the records. This is used to correctly sort the records underneath the parent page.

Also available in: Atom PDF