I just loaded a project, after reverting the attachment name to the original. Removed the the old one from the project settings, and so far it’s working smoothly. If this works I can keep the file name the same on release and hopefully that means a seamless update experience for everyone.
So I dig up an old project to test. The bric updated as it should in the project, but I am still left with a double up in attachments. The only difference I see is the bric naming at the end of the file? I assume the second one is the new one.
I will send you this project, with the same version Offcanvas Helper.
The Offcanvas bric (v1.1.2) that was in the project was updated on 17 Feb 2023
What do you think, if we just had a flag we could set, that flushed all attachments / resources on update and replaced them with whats in the updated bric. eg. At the moment, If you removed a resource in an update it remains.
New project, only had some empty divs on the canvas I was adding classes too and 2 brics that are new and unreleased. But they arn’t technically doing anything, as this is just the test project being setup for their dev.
I was pasting a class in the class box (right panel), what ever you want to call it.
Prior to the update did the Project attachments have these duplicates? Did you check for that as duplicate custom Bric attachments was common in older Blocs projects prior to all of the improvements and fixes.
@Norm, I have sent you the older project, with Offcanvas Helper 1.1.2 Bric.
Obviously having this resolved solves big pain points when rolling this out, not to mention a lot of time wasted. And its ready to roll out, besides this headache.
Using your project and installing the original version of the offcanvas Bric and then updating it (which I’ve tried multiple times) I never get double resources, so it looks like this is not an easy to replicate issue. Still not sure on the cause, but I’ll keep looking.