View Issue Details

IDProjectCategoryView StatusLast Update
0006220OXID eShop (all versions)1.01. Products (product, categories, manufacturer, promotions etc.)public2015-12-07 11:35
Reporterhendrikfreytag 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.9.5 / 5.2.5 
Target VersionFixed in Version4.9.7 / 5.2.7 
Summary0006220: Article navigation problems
DescriptionIf you have some articles with an alphanumeric oxid in db and some with pure numeric oxid, which are looking the same except for the alphabetic character (e.g. "123" and "123X"), the navigation of articles is broken.
Steps To Reproduce- Create an article with oxid '12345' and one with oxid '12345A' and put them in the same category, add some more articles in this category or use an existing one.
- In frontend click on one article in the category and navigate a bit by using "NEXT PRODUCT" and "PREVIOUS PRODUCT".
- At some point you will end in an loop and can't navigate further
Additional InformationProblem is the use of array_search. It will compare '12345' and '12345A' to true. This issue can be fixed by using strict mode of array_search.

http://php.net/manual/de/function.array-search.php

Reproducible on all versions.
TagsSolution Provided
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
MySQL VersionNot defined

Relationships

related to 0006221 resolvedanton.fedurtsya OXID loads an incorrect manufacturer 

Activities

QA

2015-08-31 16:00

administrator   ~0011184

see examples on http://php.net/manual/de/language.types.string.php#language.types.string.conversion for an explanation on PHP's behaviour.