Browser: Chrome 131.0.6778.205
OS: Windows
Hi bricks team,
If we convert the query loop to a component, the main item does not render properly. I have not tested this on posts. But it is problematic on products.
Browser: Chrome 131.0.6778.205
OS: Windows
Hi bricks team,
If we convert the query loop to a component, the main item does not render properly. I have not tested this on posts. But it is problematic on products.
Hi @HOSEIN,
would it be possible if you can export the component so that I can test locally? I would like to have your exact setup of component, to reproduce this.
Thanks.
Matej
Hi,
While reviewing this report, I encountered another problem that appears to be a bug…
If we import this Component, the query loop in it will be reset. Is this normal behavior?
Hi @HOSEIN,
thank you. I was able to replicate the issue and I’ve opened another bug report internally. We will update this topic once we release a fix.
About the query loop issue, can you open a new topic, please? I’ve created an internal task, but I would like to connect it to the new forum topic, not this one, as it’s already containing a bug
Thanks,
Matej
Yes, I will definitely do that. Thanks for the review.
Hi @HOSEIN,
We’ve fixed this in Bricks 1.12, now available as a one-click download from your dashboard.
Please let us know if you are still experiencing issues.
You can see the full changelog here: Bricks 1.12 Changelog – Bricks
Best regards,
Matej
Hi Matej,
This bug is present in the official 1.12 release
HI @HOSEIN,
actually, I see now that there are two reports on this topic. Which one is still present for you?
First one (should be fixed, right?)
Or second one (which was overlooked when I was solving this topic):
Thank you,
Matej.
Hi Matej,
First one (should be fixed, right?)
No. The First one report still occurs. In fact, in the elements I used inside the Loop, only the image and the product price have problems rendering.
But the second report is resolved. When I import a component where query loop is enabled, the query settings are not reset and it works as expected.
Ah, thanks for the input. I’ll review both again, and create/update appropriate tasks internally.
Thank you,
Matej
Hi @HOSEIN,
In your case, what’s the component that you use? I tried to replicate it now, and while I can replicate the issue for the Product price element (if does not render for the first element), the image element works totally fine.
Is the image element not working for you? Even if you recreate the component now, in 1.12.1 version?
Thank you,
Matej
Hi Matej,
Interesting🤔 Please watch the video below. I completely removed the old components from the beginning as Thomas said and rebuilt them.
Component file
Hi @HOSEIN,
thank you very much for the video and the component. I was able to replicate it, and I’ve added it to the bug tracker about this. It’s interesting though that for the image, I see one random image in my local install - no idea where it comes from.
Best regards,
Matej
Nice, thank you Matej🔥
Hi again Matej,
It seems that the second issue has been fixed in the new version. The first issue was already fixed. Right?