-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magento API fails in a CGI env (zf1 issue) #790
Comments
We are currently looking into this issue and will keep you posted with the updates. Thanks for providing the zf patch! |
Thanks for fixing! Will verify and close then. |
Looking good and Working here. Closing this. :stamp_of_approval: |
Reopening this for a potentially "more proper" fix now committed to ZF1, zendframework/zf1#484 Just a heads up. Feel free to close, please. |
Thanks @nyov for the updated fix . We have an internal issue to address this : MAGETWO-31613. We will keep you posted when the fix is applied. |
- Upgraded zf1 from 1.12.9 to 1.12.10 - Removed patched fix from Zend_Controller_Request_Http::getHeader since zf 1.12.10 has the actual fix
[API] : MAGETWO-31613: [GITHUB] Magento API fails in a CGI env (zf1 issue) #790 (ZF Upgrade)
@nyov We have gone ahead and upgraded to zf 1.12.10 (instead of just taking in the patch) in 0.42.0-beta8. |
* Various improvements: * Existing Builders were replaced with DataFactories in Customer and Tax modules * Refactored controller actions in the Checkout and CMS modules * Increased coverage with static tests for `.phtml` files * Moved Cookie related functionality from `Theme` and `Core` modules into a new `Cookie` module * Moved minfication configuration settings to the `View` library level * UI improvements: * Restyled installation wizard * Prepared styles for Dashboard in the Backend area * Framework improvements: * Added `setCustomAttribute` and `setCustomAttributes` methods to `ExtensibleDataInterface` * Added setter methods to data object interfaces * Replaced `Builders` with `Factories` * Added `DataObjectHelper.php` which contains the common set of methods of all builders * Refactored `__()` to return `Phrase` object * Allowed usage of `LocalizedException` on the framework's library level * Added expiration/lifetime management of frontend resources * Unified MTF configurations format for Framework, TestCase variations and TestCase scenario configurations * Fixed bugs: * Fixed an issue with product reviews list paging * Fixed an issue where sold products were not displayed in Bestsellers * Fixed an issue with image rendering on the CMS page on Frontend when `webserver rewrites = no` * GitHub requests: * [#790](magento/magento2#790) -- Magento API fails in a CGI env (zf1 issue) * [#909](magento/magento2#909) -- Manage Titles in popup window front-end issue * [#996](magento/magento2#996) -- Pager block should support url "fragment". * [#985](magento/magento2#985) -- Allow camelcase in vendorname for menus * [#1025](magento/magento2#1025) -- Wrong parameter for getting base url for 'media' path in "Image" form element.
[EngCom] Public Pull Requests
…id in the quote address #790
When php is run as (Fast)CGI (issue seen using php-fpm), some HTTP headers can't be found.
Relevant code is in https://github.com/magento/magento2/blob/master/app/code/Magento/Webapi/Controller/Rest/Request.php#L149
The issue lies with ZF1 failing to find the
Content-Type
header when there is no Apache Env.Filed a patch upstream, at zendframework/zf1#477
The text was updated successfully, but these errors were encountered: