-
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
Can't cancel removal of a block or container in layout by setting remove attribute value to false #1931
Comments
The GitHub issue tracker is intended for technical issues only. Please refer to the Community Forums or Magento Stack Exchange site for technical questions. In your case, the programming questions forum is likely the most appropriate. Feel free to reopen this issue if you think you have encountered a bug in Magento 2. |
this sounds like a technical issue for me... I have the same problem. EDIT: the documentation clearly says the the removeal process is canceled. that does not work! |
I had almost forgotten this issue. I did some copy paste to build up the parts i wanted back in the header. |
This problem can be reproduced by removing an element in a parent theme and trying to cancel it in a child theme. |
Any news on this yet Magento? It doesn't even look it's been been internally raised or acknowledged yet. CC @daim2k5 |
Any news about this? I'm developing a website and this same problem occurs in me. |
@tkacheva can you ask the team to investigate this one? |
@eug123 please take a look MAGETWO-54935 |
come on guys. almost 4 months to fix this? |
@philippsander issue is waiting to be merged |
Still waiting |
…uts doesn't work -- integration test
A limited workaround for the time beingIf the purpose is simply hiding and displaying specific blocks and if you have full control on those layouts, you may interest in this limited workaround. <!-- parent_layout_handle.xml -->
+ <referenceContainer name="root" display="false"/>
- <referenceContainer name="root" remove="true"/>
<!-- child_layout_handle.xml -->
+ <referenceContainer name="root" display="true"/>
- <referenceContainer name="root" remove="false"/> Use
|
hi @thomasnordkvist, the issue has been fixed under MAGETWO-54935 in develop branch, you can find it here and apply for your version: 9bd170d |
Please merge this in some upcoming release. Thanks. |
Hi @KrystynaKabannyk, could you please reopen this issue (until the fix appears in a released 2.1.x version)? |
hi @korostii, this issue hasn't been scheduled to be backported, it will go to 2.2.0 release. |
@KrystynaKabannyk Considering that for many of the merchants the switch to 2.2 will probably be somewhat painful, resource-heavy (see this marvelous list of backwards-incompatible changes for a taste) and delayed for at least a couple more months, it would make sense to have it on the 2.1.x branch as well. Furthermore, someone from the community just might want this fix badly enough and make pull request aiming Either that, or some disclaimer saying that "this is a known issue that won't ever be fixed in 2.1. Please move along to 2.2". You do know that there are people re-testing every bug they have encountered earlier after each new release in order to see if it got fixed? right? Anyhow, having the issue marked as "closed" (while there isn't any straightforward way to use it available to ordinary users) is very misleading. Could you at least leave the issue open until 2.2.0 gets released? |
hi @korostii, we reviewed the issue again and made the decision to backport it into 2.1.x. Internal ticket for it is created MAGETWO-69715. Thank you for raising this issue again! |
Thank god for people like @korostii. Thanks for the effort @KrystynaKabannyk. |
The issue already fixed and will be available in release 2.2.0 very soon |
Hi @magento-engcom-team, The issue is reported and reproduced on 2.1.x Just trying to make sense of it, please help me understand the issue flow here. |
@magento-engcom-team @KrystynaKabannyk - Magento committed to backporting this into 2.1 and has marked the ticket as Done (even after @korostii mentioned that Magento may be misunderstanding). However, it's not even in 2.1.10-dev. Please fix the status of this report and update the community on an ETA. |
Still not backported to 2.1.*? |
…in layouts doesn't work -- integration test
Hi @thomasnordkvist. Thank you for your report. The fix will be available with the upcoming 2.1.14 release. |
@magento-engcom-team Do you mean 2.1.13 or is that one going to be skipped? |
I inherit the blank theme and i wanted to have the top.links visible in the checkout so i created this file:
Vendor/Theme/Magento_Checkout/layout/checkout_index_index.xml
containing this:
Reading This i understand, that it sould now be possible to cancel a removal instruction with the above instruction, but it doesn't seem to work.
I know the file is parsed, and included in the layout, because if i add a block from this file it will show up on the checkout page.
/Thomas
The text was updated successfully, but these errors were encountered: