Skip to content

Conversation

@IgorVitol
Copy link
Owner

Original Pull Request

magento#15058

Description

For now in Magento we can not use xsi:type="const" in layout arguments. But it looks like such ability can be very useful. Moreover such code already exists in Magento core, we just need to include/enable it.

Manual testing scenarios

  1. Add argument with "const" type to any block via layout arguments. For example like this:
<referenceBlock name="product.info.sku">
    <arguments>
        <argument name="my_const_value" xsi:type="const">Magento\Catalog\Api\Data\ProductAttributeInterface::ENTITY_TYPE_CODE</argument>
    </arguments>
</referenceBlock>
  1. Verify that it is correctly passed to block constructor. Like here: http://prntscr.com/jf7qa0

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

gwharton and others added 30 commits May 6, 2018 21:58
…tion <var name='allowfullscreen'>false</var> for mobile device don't work in product view page gallery magento#15021

 - Merge Pull Request magento#15021 from gwharton/magento2:2.3-develop-12285
 - Merged commits:
   1. 435b165
   2. 4113f26
   3. c0b9e8f
   4. 05b1512
   5. 2701a4f
…ready have the latest version magento#15034

 - Merge Pull Request magento#15034 from DanielRuf/magento2:2.3-develop-PR-port-15012
 - Merged commits:
   1. b76ddf8
   2. 40d9180
…yPal Express checkout magento#15050

 - Merge Pull Request magento#15050 from rogyar/magento2:2.3-duplicate-paypal-email-fix
 - Merged commits:
   1. b6e2ad0
…low app:config:import magento#15051

 - Merge Pull Request magento#15051 from rogyar/magento2:2.3-config-import-country-cart
 - Merged commits:
   1. e07e762
magento-engcom-team and others added 28 commits May 15, 2018 16:30
 - merged latest code from mainline branch
Accepted Public Pull Requests:
 - magento#15128: [Forwardport] chore: use random_int() in some places (by @mzeis)
- creating a class to hide from printing needed elements
…oding styles doesn't work for PageBuilder code

- add modules to whitelist to enable static test `\Magento\Test\Less\LiveCodeTest`
…lay as "No" of the storefront

- type check safety added for boolean vs string/int on dropdown that was causing this bug
[Performance] [2.3 Forwardport] Performance of Category Products index is slow when you have big number of categories
 - merged latest code from mainline branch
Accepted Public Pull Requests:
 - magento#15198: MSI: Remove MultiDimensionalIndexer from framework (by @seruymt)
 - magento#15186: [Forwardport] Fixed js error when product has double quote in its name (by @mzeis)
 - magento#15185: [Forwardport] Removed unused class declaration and code (by @dmytro-ch)
 - magento#15161: 2.3 Development: Clarify XSD for formElements allowed settings (by @RNanoware)
 - magento#15168: [Port 2.3-develop] Add parent item to order item (by @JeroenVanLeusden)
 - magento#15082: [Forwardport] Fixed Overlay Problems (by @adrian-martinez-interactiv4)


Fixed GitHub Issues:
 - magento#14140: UI component definition.map.xml overlooks XSD-valid nodes (reported by @RNanoware) has been fixed in magento#15161 by @RNanoware in 2.3-develop branch
   Related commits:
     1. 2d75f25
     2. b32a33a
     3. 56c7609
     4. 64adba9
     5. 0750a16
     6. 214ae8b
     7. 5a323af
…oding styles doesn't work for modules

- fix static integrity test
…7592-static-test-less

Fixed issues:
- MAGETWO-87592 Static test - investigate why existing test for LESS coding styles doesn't work for PageBuilder code
…ont if it is empty for the Product

- added test
…ont if it is empty for the Product

- added clean up steps and updated Data file
…580-Empty-product-attributes-of-dropdown

[honey] Bug fixes
@IgorVitol IgorVitol force-pushed the 2.3-develop-PR-port-15058 branch from aefa0e6 to c9215e5 Compare May 20, 2018 10:17
@IgorVitol IgorVitol closed this May 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.