View Issue Details

IDProjectCategoryView StatusLast Update
0005429OXID ERP InterfaceOXID ERP Interface - subpublic2023-11-21 09:57
Reportermichael_keiluweit Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version2.11.1_54476 
Summary0005429: Version is always set to 2.2.0 with the oxerpcsv.php
DescriptionThe delivered script cron_export_articles.php writes always the version 2.2.0 into the exported CSV file.
The reason is the missing version parameter during the call of the gateway:

$sUrl = ERPSCVURL.'?fnc=OXERPGetArticles&sid='.$sSid;

Should be:

$sUrl = ERPSCVURL.'?fnc=OXERPGetArticles&version=2.11.0&sid='.$sSid;

or better:

define ('VERSION', '1.0.0');
$sUrl = ERPSCVURL.'?fnc=OXERPGetArticles&version='.VERSION.'&sid='.$sSid;

Because it is used on two places now.
TagsSolution Provided

Activities

SvenBrunk

2023-11-21 09:57

manager   ~0015877

This always was only meant as an example. Meanwhile the script has been removed from the package and the documentation remains as source for such an example.