View Issue Details

IDProjectCategoryView StatusLast Update
0007064OXID ERP InterfaceOXID ERP Interface - subpublic2019-12-19 12:34
Reporterdx_bhesse 
PrioritylowSeveritytweakReproducibilityalways
Status acknowledgedResolutionopen 
PlatformOSWindows 10OS VersionBuild 18363.535
Product Version3.1.0 
Target VersionFixed in Version 
Summary0007064: Target-Namespace is generated with the wrong url separator under windows
DescriptionIn oxerpservice.php (line ~86):
$targetNamespace = !empty($targetNamespace) ? $targetNamespace : $sShopURL . 'modules' . DIRECTORY_SEPARATOR . 'erp' . DIRECTORY_SEPARATOR . 'OXERPService';

DIRECTORY_SEPARATOR is \ under windows instead of / and will generate invalid namespace urls - which will prevent SoapServer and SoapClient to be unable to parse the generated *.wsdl.

Suggested fix: Replace DIRECTORY_SEPARATOR with '/'
Workaround: Manually set the namespace by setting $this->erpTargetNamespace in config.inc.php

(There probably is no official windows support for oxid, but keeping it functional would be handy)
Steps To ReproduceOnly precondition is running oxid on a windows system and any regular call to oxerpservice.php will fail
TagsNo tags attached.

Activities

There are no notes attached to this issue.