View Issue Details

IDProjectCategoryView StatusLast Update
0007701OXID ERP InterfaceOXID ERP Interface - subpublic2025-07-09 15:42
ReporterSimonGassenschmidt Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product Version3.2.0 
Summary0007701: By assigning a new main-category you get Seo-Entries without expired marking
DescriptionIn Backend of Shop you can assign an main-category, then the seo entry will be marked as expired and the new one will be set.

The same function exists in ERP Interface, but there is no marking of the old entry. this leads to many unmarked entries.
Steps To Reproduce1. ERP Modul in 3.2
2. Create Article and create 2 categories.
3. assign article to one category by OXERPSetArticleCategory for SOAP
4. call backend article -> seo, so seo entry gets created
check oxseo for entry
5. assign article to the other category by OXERPSetArticleCategory for SOAP
6. call backend article -> seo, so new entry gets created
check oxseo for two entry for this article, both are not marked as expired.
7. test this behavoir in backend, and check oxseo, you will see that old entries are marked as expired.
Additional Informationpossible fix in
source/modules/erp/oxerpgateway.php

function:

OXERPSetArticleCategory

add in c. 568:
$sShopID = \OxidEsales\Eshop\Core\Registry::getConfig()->getShopId();
\OxidEsales\Eshop\Core\Registry::getSeoEncoder()->markAsExpired($oParameters->sArticleID, $sShopID, 1, null, "oxtype='oxarticle'");
TagsNo tags attached.

Relationships

related to 0007798 confirmedSvenBrunk OXID eShop (all versions) SEO URL is not deleted when category assignment is removed 

Activities

There are no notes attached to this issue.