Magento2: M2.1 : Head link manifest HREF attr not work correct

Created on 27 Sep 2016  Â·  8Comments  Â·  Source: magento/magento2

Preconditions

Magento 2.1 EE

Steps to reproduce

  1. open Magento_Theme/layout/default_head_blocks.xml
  2. insert
    <link rel="manifest" href="manifest.json" />

    Expected result

<link rel="manifest" href="http://site.com/static/frontend/Vendor/default/en_US/Magento_Theme/manifest.json" />

Actual result

<link rel="manifest" href="manifest.json" href="http://site.com/static/frontend/Vendor/default/en_US" />

~~
_Magento2 makes me crazy._

Frontend Theme Clear Description Format is valid Ready for Work Reproduced on 2.1.x Reproduced on 2.2.x bug report

All 8 comments

@denis-g thank you for your report.
If this issue is actual for Enterprise Edition only, please address it to Magento Support.

Confirm the same bug in CE 2.1.1

@denis-g , @pavelnovitsky
You can use the src=".." attribute for proper behavior. It will be processed and converted to href="..".
Some additional notes – Page layout instructions on devdocs.

Also, there was created an internal issue for the proper handling attributes and their merging: MAGETWO-59371.
Please, stay in touch.

See also similar #5023

@denis-g, thank you for your report.
We've created internal ticket(s) MAGETWO-59371 to track progress on the issue.

Hi @vasilii-b. Thank you for working on this issue.
Looks like this issue is already verified and confirmed. But if your want to validate it one more time, please, go though the following instruction:

  • [x] 1. Add/Edit Component: XXXXX label(s) to the ticket, indicating the components it may be related to.
  • [x] 2. Verify that the issue is reproducible on 2.3-develop branch

    Details- Add the comment @magento-engcom-team give me 2.3-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and _stop verification process here_!

  • [ ] 3. Verify that the issue is reproducible on 2.2-develop branch.

    Details- Add the comment @magento-engcom-team give me 2.2-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.2-develop branch, please add the label Reproduced on 2.2.x

  • [ ] 4. If the issue is not relevant or is not reproducible any more, feel free to close it.

As for Magento 2.3-develop you cannot add href attribute to the link:
xnip2019-01-29_16-08-24
If the src attribute is used instead, the url is generated absolutely fine:
xnip2019-01-29_16-14-25

Closing the issue as it was not reproduced on 2.3-develop instance.

Was this page helpful?
0 / 5 - 0 ratings