Closed
Description
Preconditions
- Magento 2.1.3
- PHP 7.0.8-0ubuntu0.16.04.3
Steps to reproduce
- Define a Extension attribute for the OrderInterface with a join table:
<extension_attributes for="Magento\Sales\Api\Data\OrderInterface">
<attribute code="some_id" type="string">
<join reference_table="SOMETABLE" join_on_field="quote_id" reference_field="quote_id">
<field>some_id</field>
</join>
</attribute>
</extension_attributes>
- Make sure there's matching data in the SOMETABLE table and the sales_order table
- Request orders via REST
Expected result
- I expected to see some_id in the resulting json response (this does work for Quote extension attributes).
Actual result
- No some_id in the extension attributes property of the json response
Metadata
Metadata
Assignees
Labels
USE ONLY for FRAMEWORK RELATED BUG! E.g If bug related to Catalog WEB API use just CatalogThe issue has been fixed in 2.1 release lineThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.3 release lineGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentThe issue has been reproduced on latest 2.1 releaseThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.3 release