View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000848 | OXID eShop (all versions) | 4.09. SEO, SEO URL | public | 2009-04-30 16:12 | 2012-12-10 13:35 |
Reporter | Gregor | Assigned To | |||
Priority | high | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.1.1 revision 18442 | ||||
Fixed in Version | 4.1.2 revision 18998 | ||||
Summary | 0000848: generating of category links fails | ||||
Description | After updating to 4.1.1. we have the following behaviour: opening a category with several pages and clicking on the page number puts the page number behind the link; but it does not remove the number, if you click again. This generates a link looking like this: http://www.stempelmeer.de/Papier-Karten/9/12/7/2/6/12/6/6/12/7/5/10/2/10/7/10/5/3/5/3/4/4/8/6/4/12/3/4/2/7/2/6/11/2/2/2/11/8/12/4/ This value is stored in table OXSEO field OXSEOURL and of course nothing is found | ||||
Additional Information | For each paging a new value is stored in the SEO-Table. As a quick measure I deleted the seo-entry in the table, but it is directly restored, if someone uses paging. | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | 5.2.6 | ||||
Database Version | 5.0.33 | ||||
|
05.05.2009: dainius_bigelis wrote: could not reproduce this error. Answer: As a measure to avoid the problem for customers I increased the number of "products shown in article list" to 100. This prevents most of the categories from showing the paging. Currently we have more than 100 products in the category http://www.stempelmeer.de/Embellishments/Knoepfe/ and I can reproduce this behaviour. page 1: http://www.stempelmeer.de/Embellishments/Knoepfe/3/ page 2: http://www.stempelmeer.de/Embellishments/Knoepfe/3/2/ page 3: http://www.stempelmeer.de/Embellishments/Knoepfe/3/3/ Clicks on the page <<|1 2 3 |>> increases the number of page-indicators at the link http://www.stempelmeer.de/Embellishments/Knoepfe/3/2/3/2/ |
|
Problem is in oxseoencoder::_loadFromDb() method: instead: if ($sParams) { if ($blStrictParamsCheck) { $sQ .= " and oxparams = '{$sParams}'"; } else { $sQ .= " order by oxparams = '{$sParams}' desc"; } } shoud be: $sParams = $sParams ? $sParams : ''; if ( $sParams && $blStrictParamsCheck ) { $sQ .= " and oxparams = '{$sParams}'"; } else { $sQ .= " order by oxparams = '{$sParams}' desc"; } $sQ .= " limit 1"; or first record according to index will be returned. |