# Find and Replace Bug

**URL:** <https://forum.inductiveautomation.com/t/find-and-replace-bug/3399>\
**Category:** Ignition\
**Created:** [October 7, 2011, 11:51am UTC](https://forum.inductiveautomation.com/t/find-and-replace-bug/3399 "2011-10-07T11:51:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jac](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@jac](https://forum.inductiveautomation.com/u/jac)\
**Post date:** [October 7, 2011, 11:51am UTC](https://forum.inductiveautomation.com/t/find-and-replace-bug/3399/1 "2011-10-07T11:51:01Z")

</div>

When working with a copy of a working screen and using the Find and Replace “Open windows only” feature to change the parent folder of all Tags on the screen the Dynamic property scripts are not change correctly when there is a container attribute involved.

Example:

if(tag(“Sys1/Ingrd/Pump” + {Root Container.AddContainer 17.PumpNum})=“No Ingredient”, 1, 0)

\*\*\*after a Search and Replace of “Sys1 to Sys2” the container # changes to the first one on the screen. if(tag(“Sys2/Ingrd/Pump” + {Root Container.AddContainer 1.PumpNum})=“No Ingredient”, 1, 0)

There are 30 such containers on the screen and the only all of the same script are wrong except of course AddContainer 1

I hope that’s clear enough…

Cheers

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [October 14, 2011, 5:18pm UTC](https://forum.inductiveautomation.com/t/find-and-replace-bug/3399/2 "2011-10-14T17:18:21Z")

</div>

Yes, I was able to reproduce this bug. I made a ticket to get it fixed.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [October 17, 2011, 11:06pm UTC](https://forum.inductiveautomation.com/t/find-and-replace-bug/3399/3 "2011-10-17T23:06:01Z")

</div>

This was fixed for 7.3.1
