WAIT: Duplicated elements in the backend area

Browser: Firefox latest
OS: Windows
URL: backend issue
Video:

Hi,
sometimes(!) my Elements are duplicated in the backend area. Any idea where this is coming from and how to fix it?
Video: https://youtu.be/OEJZ2Fk2hNI

Thanks
Marco

I have seen the same thing happen before. :face_with_diagonal_mouth:

I had a similiar thing it happen once back in November and reported it via email with a video and login credentials. I had 2 rich text elements the same and if I deleted one element the other was deleted. One was in a container and the other was outside of the container, but in the same section. If I highlighted one in the structure panel, the other one was highlighted too.

I have seen it another time, but I can’t replicate it.

Hi Marco,
Thanks so much for your report!

If the video had sound, it would be a bit easier to follow, but I think the problem is the same or at least very similar to this one: WIP: Nestable Elements: render inconsistencies builder vs front-end - #2 by timmse

I can reproduce it if I duplicate a section (or container) and then delete it: it is removed from the structure panel but remains visible on the canvas, right?

Best regards,
timmse

Hi Timmse,
no, the problem isa little bit different: when I add a container (haven’t tested blocks, sections, divs yet), then sometimes(!) these elements get re-produced, means: instead of one new container, I have two new containers with the same content showing up on the backend and frontend! It’s like if there is a ghost container of the original one. If I try to delete this “ghost-container”, the original one is being deleted as well.

This is very nasty and makes it nearly impossible to continue to work on that page. :confused:

Did you enable the option “Add Element ID as needed” in Bricks Settings (Dashboard)?

Yes, it is enabled. Not good??

Yes, all good. Just trying to replicate the issue here but I can’t.
Are you using any third party Bricks extensions?

Okay, we had the same problem some time ago. Can you explain exactly how you created the container? Did you perhaps save it as a template and then insert it into the page?

Can you please send temporary login credentials to help@bricksbuilder.io, a link to this thread, and information on which page we can see one of these “ghost containers”?

I simply insert them (no templates). I deleted all these sections, but once the problem occurs again, I will mail you the login link.

Has there been a fix for this @timmse as I now have a similar issue. If i delete one it deletes both!

Hey @richardp ,
The issue should be solved in Bricks 1.9.9 (stable). If you are still experiencing this problem, please send us access data, info where we can find it, and a link to this thread to help@bricksbuilder.io

1 Like

Thanks, to update, i have found that by deleting the elements and adding them back in has fixed the issue

1 Like

Hey Bricks Team, I can report seeing a similar issue at times on various Bricks sites, all of which are running v1.12.4.

What typically happens is there will be a few random elements, which are nested within a block / container / section, that suddenly become duplicated at the very bottom of the page in the structure panel within the builder. If I delete these extra instances, it also deletes the original elements.

Clicking on the duplicated item sometimes scrolls the builder to the original element, but other times will scroll to the duplicated instance.

I made this quick video to show some of the behavior: Jam

Happy to provide more details if there’s anything else that would be helpful. You guys rock!

Hi @EricE,

do you know how you got those three duplicated elements - can you write step-by-step on how can I replicate it?

Also, can you try to make a staging website, where you install 2.0 RC, and you check for orphaned elements - just in case if this solves it (Bricks 2.0-beta Changelog – Bricks)

Let us know,
Matej

Hey @Matej -

Unfortunately, I can’t find any specific steps that have caused this behavior. I have not noticed these duplicated elements appearing while I am actively using the builder, but instead I see them when opening up a page to edit, which has already previously been edited / saved.

I will try to keep track of workflows, etc., next time I encounter the problem to see if I can find concrete steps to reproduce the issue. The only possible thing I can think of right now, is that I do believe when this has happened, the page or post in question was duplicated from a different page.

I will try creating a staging instance and updating to 2.0 as well to see if that resolves the existing issue and/or prevents it from happening again. This is a tough one since it seems so random at this point, at least in my experience.

Currently, my workaround was to duplicate the parent element that contained all the original elements inside of it. When I tried to duplicate the individual elements themselves, this was causing additional instances of them to appear in strange spots in the builder structure (either the very beginning or very end of the structure).

I’ll follow up once I have more info.