View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007701 | OXID ERP Interface | OXID ERP Interface - sub | public | 2024-07-31 13:26 | 2025-07-09 15:42 |
Reporter | SimonGassenschmidt | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Product Version | 3.2.0 | ||||
Summary | 0007701: By assigning a new main-category you get Seo-Entries without expired marking | ||||
Description | In 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 Reproduce | 1. 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 Information | possible 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'"); | ||||
Tags | No tags attached. | ||||