# \[bug-14191\]ManagedTagProvider - ReadOnly, but copy and paste creates new tags in Designer

**URL:** <https://forum.inductiveautomation.com/t/bug-14191-managedtagprovider-readonly-but-copy-and-paste-creates-new-tags-in-designer/25742>\
**Category:** Module Development\
**Tags:** ignition80\
**Created:** [June 11, 2019, 7:43pm UTC](https://forum.inductiveautomation.com/t/bug-14191-managedtagprovider-readonly-but-copy-and-paste-creates-new-tags-in-designer/25742 "2019-06-11T19:43:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [June 11, 2019, 7:43pm UTC](https://forum.inductiveautomation.com/t/bug-14191-managedtagprovider-readonly-but-copy-and-paste-creates-new-tags-in-designer/25742/1 "2019-06-11T19:43:25Z")

</div>

I’m using a ManagedTagProvider in Ignition 8.0.2 (b2019060511). The configuration is `setAllowTagCustomization(false);`

As expected, i can not create new or modify existing tags in the designer. However copy and paste creates a new tag. Adding an new folder is also possible.  
Copy/paste works the same way for the `System/Gateway` tags, so i assume this is a bug?

---

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [June 14, 2019, 3:07pm UTC](https://forum.inductiveautomation.com/t/bug-14191-managedtagprovider-readonly-but-copy-and-paste-creates-new-tags-in-designer/25742/2 "2019-06-14T15:07:52Z")

</div>

Looks like I’m the only one with this problem, so maybe someone can please tell me the correct way to prevent creation of folders or pasting tags in a `ManagedTagProvider`?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 14, 2019, 3:08pm UTC](https://forum.inductiveautomation.com/t/bug-14191-managedtagprovider-readonly-but-copy-and-paste-creates-new-tags-in-designer/25742/3 "2019-06-14T15:08:17Z")

</div>

This sounds like a bug, based on the behavior of the system tags - I’ll file a ticket to investigate/fix.

---

<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 14, 2019, 7:35pm UTC](https://forum.inductiveautomation.com/t/bug-14191-managedtagprovider-readonly-but-copy-and-paste-creates-new-tags-in-designer/25742/4 "2019-06-14T19:35:22Z")

</div>

I use the ManagedTagProvider too.  
When I try to remove all my tags with the removeTag(PathToMyRootFolder) and recreate my tags, the provider keep the old tags until the module is restarted.

my settings are persist values and tags to false.

```auto
removeTag(java.lang.String path)
Removes the tag from the provider, and deletes any extensions defined for it.

```

Did you encounter such of behaviors too ?

---

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [June 14, 2019, 8:13pm UTC](https://forum.inductiveautomation.com/t/bug-14191-managedtagprovider-readonly-but-copy-and-paste-creates-new-tags-in-designer/25742/5 "2019-06-14T20:13:27Z")

</div>

> [@mazeyrat](#):
>
> Did you encounter such of behaviors too ?

No, but I don't use that function. My module just adds some predefined status tags.

---

<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 25, 2019, 10:27pm UTC](https://forum.inductiveautomation.com/t/bug-14191-managedtagprovider-readonly-but-copy-and-paste-creates-new-tags-in-designer/25742/6 "2019-06-25T22:27:14Z")

</div>

I can confirm that the original reported issue will be fixed in 8.0.3.

@mazeyrat We’ll have to look into this issue. I did get one similar report from a different developer, but in that case I think we tracked the issue to their side. Let me try to mock up your particular case.
