View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007064 | OXID ERP Interface | OXID ERP Interface - sub | public | 2019-12-18 09:49 | 2024-07-03 08:47 |
Reporter | dx_bhesse | Assigned To | |||
Priority | low | Severity | tweak | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
OS | Windows 10 | OS Version | Build 18363.535 | ||
Product Version | 3.1.0 | ||||
Fixed in Version | 4.1.0 | ||||
Summary | 0007064: Target-Namespace is generated with the wrong url separator under windows | ||||
Description | In 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 Reproduce | Only precondition is running oxid on a windows system and any regular call to oxerpservice.php will fail | ||||
Tags | No tags attached. | ||||
|
It is just plain wrong to use the platform independent DIRECTORY_SEPARATOR ( https://www.php.net/manual/en/dir.constants.php ) in URLs as those are always platform independent and always use / |
|
https://github.com/OXID-eSales/erp/pull/28 |
|
Merged into b-7.1, release 4.1.0 of ERP module pending |