View Issue Details

IDProjectCategoryView StatusLast Update
0003678OXID eShop (all versions)1.06. Search, Tagspublic2012-12-07 14:42
Reporterupdown 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.8 revision 42471 
Target VersionFixed in Version4.5.9 revision 43186 
Summary0003678: Tag-Pagination in "Back to Article" is not converted to SEO-Link and is returning 404
DescriptionWhen calling an article from a paginated tag-list, the "back to overview" link does not work on pages > 1. The reason is a missing encode on the page-link (see additional information).
Steps To Reproducetag-view with tags on several pages. Go to a page >1. Click on article. Click on "back to overview" in articleview.
Additional InformationPatch:

file: views/oxlocator.php
in: protected function _setTagLocatorData( $oLocatorTarget, $oCurrArticle )

find:
            $sPageNr = $this->_getPageNumber( $iPage );
            $oTag->toListLink = $this->_makeLink( $oTag->link, $sPageNr );


replace with:
            if ( $myUtils->seoIsActive() && $iPage ) {
                $oTag->toListLink = oxSeoEncoderTag::getInstance()->getTagPageUrl( $oTag->sTag, $iPage );
            } else {
                $oTag->toListLink = $this->_makeLink( $oTag->link, $this->_getPageNumber( $iPage ) );
            }

TagsProducts, SEO, Tags
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Relationships

related to 0004058 closedQA duplicate content 

Activities

updown

2012-03-06 11:56

reporter   ~0005893

Last edited: 2012-03-06 14:57

View 2 revisions

ofcourse it is the "back to overview"-link ("Zurück zur Übersicht"), not "back to article"

updown

2012-03-08 17:21

reporter   ~0005918

the 404 is related to bugreport 0003677:
https://bugs.oxid-esales.com/view.php?id=3677