# \[BUG\] Ignition 8.0.13 tag managed changes generate duplicate folders

**URL:** <https://forum.inductiveautomation.com/t/bug-ignition-8-0-13-tag-managed-changes-generate-duplicate-folders/35839>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [June 19, 2020, 7:24pm UTC](https://forum.inductiveautomation.com/t/bug-ignition-8-0-13-tag-managed-changes-generate-duplicate-folders/35839 "2020-06-19T19:24:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [June 19, 2020, 7:24pm UTC](https://forum.inductiveautomation.com/t/bug-ignition-8-0-13-tag-managed-changes-generate-duplicate-folders/35839/1 "2020-06-19T19:24:23Z")

</div>

I have created modules with the SDK exposing some managed tags.  
Until **Ignition 8.0.12** all worked fine.  
I have upgraded in **Ignition 8.0.13** and I have the followng message:

Instead of having tags in my folder, I have multiple forder with a **“duplicate”** postfix ?

![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/fefa1d2bcd8f2cb9289e5a4681ee42556f16cb6b.png)

```auto
this.provider.configureTag("PATH/TO/MYTAG", DataType.String);
...

```

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [June 19, 2020, 7:46pm UTC](https://forum.inductiveautomation.com/t/bug-ignition-8-0-13-tag-managed-changes-generate-duplicate-folders/35839/2 "2020-06-19T19:46:34Z")

</div>

Hi,

Is the “macroCommands” folder created implicitly, like you’re calling configureTag(“macro/macroCommands/MyTag”), and it’s creating those?

Also, if this is your own managed tag provider, what are your settings in the ProviderConfig for PersistTags, PersistValues, etc?

I’ll try to get it mocked up. The “_duplicate_” postfix is something that now happens when there are multiple definitions that would map to the same name- in the past, only one of the clashing nodes would be used. My guess is that since it’s a folder, the one folder would be used- the duplicate issue was more significant when they were actual tag definitions. For some reason, in this case, it appears to be creating duplicate nodes instead of finding the existing one. I’ll try to look into it.

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [June 19, 2020, 7:57pm UTC](https://forum.inductiveautomation.com/t/bug-ignition-8-0-13-tag-managed-changes-generate-duplicate-folders/35839/3 "2020-06-19T19:57:10Z")

</div>

yes it’s my own provider.

macroCommands folder was created implicitly.

settings are the followings

```auto
    public Provider(GatewayContext context) {
        this.gatewayContext = context;

        ProviderConfiguration configuration = new ProviderConfiguration(PROVIDER_NAME);

        // Needed to allow tag configuration to be editable. Comment this out to disable tag configuration editing.
        configuration.setAllowTagCustomization(true);

        // Ne pas autoriser à supprimer des tags depuis le designer
        configuration.setAllowTagDeletion(false);
        configuration.setPersistTags(false);
        configuration.setPersistValues(false);

        this.ourProvider = gatewayContext.getTagManager().getOrCreateManagedProvider(configuration);

        // Supprime tous les tags et sous-dossiers
        // Tous est recrée
        this.ourProvider.removeTag(ROOT);
    }

```

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [June 19, 2020, 9:32pm UTC](https://forum.inductiveautomation.com/t/bug-ignition-8-0-13-tag-managed-changes-generate-duplicate-folders/35839/4 "2020-06-19T21:32:28Z")

</div>

Once you start the provider, you see no tags, correct? And then you create the tags by simply calling updateValue, or do you call configureTag first?

I couldn’t replicate it with a quick test, so I must be missing some specific operation. I’ll keep trying through.

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [June 20, 2020, 7:31am UTC](https://forum.inductiveautomation.com/t/bug-ignition-8-0-13-tag-managed-changes-generate-duplicate-folders/35839/5 "2020-06-20T07:31:13Z")

</div>

I send you the whole module by PM

---

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [August 31, 2020, 2:57pm UTC](https://forum.inductiveautomation.com/t/bug-ignition-8-0-13-tag-managed-changes-generate-duplicate-folders/35839/6 "2020-08-31T14:57:34Z")

</div>

Has this issue been fixed? We are running 8.0.15 and when we restart the gateway service we see duplicate tags and duplicate tag folders some times. We are using a script to call system.tag.configure with the default collisionPolicy setting of override.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/c/2c68bdf0d1c05d64d13f5bc939638c6959aaf99d.png)

I see this in the console after a service stop/start

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/b/4b6518374ec4c1c6c0c154d0a543b421e80cef8c.png)

---

<div class="post-metadata">

**Author:** ![paul.mangels](https://avatars.discourse-cdn.com/v4/letter/p/a698b9/32.png) [@paul.mangels](https://forum.inductiveautomation.com/u/paul.mangels)\
**Post date:** [December 14, 2020, 8:58pm UTC](https://forum.inductiveautomation.com/t/bug-ignition-8-0-13-tag-managed-changes-generate-duplicate-folders/35839/7 "2020-12-14T20:58:03Z")

</div>

I want to follow up again on this, has it been fixed or any other information come available? I have a system running 8.1.0 and I’m seeing duplicate folders inside the [System]Gateway/Devices folder, which is all auto-generated tags.
