View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005724 | OXID eShop (all versions) | 4.09. SEO, SEO URL | public | 2014-04-04 12:35 | 2024-01-17 10:13 |
Reporter | itsabug | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Product Version | 4.8.4 / 5.1.4 | ||||
Summary | 0005724: Wrong main category url showing in backend. Differs from frontend. | ||||
Description | When retrieving a main category link for an article, hidden categories are not excluded from the select statement. But in the backend they are excluded. So if you visit the admin panel for this article and switch to SEO, you won't see a hidden category marked as "main category". Instead of showing the hidden category the oxobject2category entry with the 2nd lowest oxtime is shown as main category. | ||||
Steps To Reproduce | 1. Add some categories (hidden and unhidden) to an article. 2. Set a unhidden category as "main category" for this article. 3. Now set the hidden category as "main category" for this article. 4. Switch to SEO panel in admin backend for this article. You will see that the unhidden category is still marked as "main category" But if you search for this article in the frontend the resulting article shows the url of the hidden category. | ||||
Tags | No tags attached. | ||||
Theme | Azure | ||||
Browser | All | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
|
The different behavior between the frontend and backoffice is fixed. The reason I am confirming this is because the backoffice should : - warn about assigning a hidden category as the main category, because it reveals the hidden category to anyone selecting an article from the visible category - not prevent the user from selecting it in the first place, because that is a free choice of the shop owner if he wants that or not |