You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: xPDOTransport store/retrieve/getTransport/checkPlatformDependencies do not match documentation #295
Several public xPDOTransport/xPDOManager methods do not behave as documented: store() is a stub, retrieve() never downloads, getTransport() ignores arguments, and checkPlatformDependencies() only checks PHP.
Steps to Reproduce
Call $transport->store($path) on a packed transport.
src/xPDO/Transport/xPDOTransport.php:653-691: retrieve() checks file_exists() and only unpacks a local file.
src/xPDO/Om/xPDOManager.php:192-200: getTransport() takes no arguments and does new $transportClass($this).
src/xPDO/Transport/xPDOTransport.php:560-575: checkPlatformDependencies() switches only on php; other keys are returned as unsatisfied.
Workarounds: writeManifest() + pack() instead of store(); download the archive before calling retrieve(); construct new \xPDO\Transport\xPDOTransport($xpdo, $signature, $path); check extensions separately.
Environment
xPDO Version: 3.2.0, commit e0d7dfd6c58e38767094aff1bc049d7694a05735
PHP Version: not provided (report based on source review)
Database: not applicable
Activity