Find/Replace function is not working well after upgrade into 8.1.27

I have encountered a potential bug(my personal doubtful opinion currently...) in the Ignition software after upgrading from Ignition and Designer version 8.1.26 to version 8.1.27 (b2023042509) two days ago.
I wanted to share the details with you and request assistance in resolving the issue.

After upgrading, I modified the Tag Provider structure of one project and attempted to use the Find/Replace(Ctrl + F) function to update the existing Tag Path bound to both the Vision and Perspective projects.
However, I encountered an issue when using the Find/Replace function, and this is ocurring with all projects.

With all options for Windows target, All windows, Selected windows, Opened windows, 'find' is not working well and does not return any results.
However, when using Find/Replace selected Windows function on project browser, the 'find' works as expected.

Here are some screenshots below for more information...
The name of tag TE201AB_StackInTemp have changed to StackInletTemp, and this modification of tag path only existing in two main windows, 'P&ID' and 'PCS Trend'.
I opened those two windows and opened the Find/Replace with ctrl+F.




Nothing has returned with Find/Replace.


Well performed with Find/Replace selected Windows on P&ID window.

I was able to perform the same operation without any issues just before upgrading the software version(both Ignition and Designer), which leads me to believe that this might be a bug introduced in the latest version.
I searched release note of this latest version, it seems that there are some find & replace function on both Vision and Designer.

I kindly request you to look into this matter and provide any guidance on how to address the issue.
And if someone has same or similar issue on Find/Replace function, please share the problem.

Thank you everyone.

This is bug that's already been fixed for release in 8.1.28.

Currently, we rollbacked to previous version 8.1.26, and confirmed that there is no issue.
As you told, will wait to 8.1.28 to be official latest release.

Don't believe it has been fixed in 8.1.28, if anything it has seemingly regressed. No longer possible to find/replace on any closed windows which i'm 85% sure never used to be the case.. Because we very often had to find / replace tag paths that were embedded in component custom properties.

1 Like

Didn't know that,,,
I'm still in version 8.1.26, and will be aware about find/replace feature before considering upgrade.

I ran into this as well:

1 Like

Yea the whole thing is pretty much screwed. Pretty unhappy with it.

It seems to be broken into two categories from what I've tested:

  1. Anything you want to find / replace in a custom TEMPLATE property, you cannot do unless you have the window actually OPEN so that the components can be serialized.

  2. Anything else like scripts, tag paths in other standard components, doesn't seem to work well with ALL WINDOWS and you're better off selecting a handful from the project browser at a time, or actually opening ones you suspect you need.

Pretty crappy when half the time you don't know what windows NEED to be targeted for the search..

Have you guys checked your console? Clear it first, then use the find replace. See if there are any errors that show. I've seen this numerous times where a Window will have a binding in it that's corrupted and it prevents the search from finding anything (it appears to halt the search entirely). Find the bad window and fix it (usually just open binding and press OK) to fix the find replace tool. I don't know if there's a better way, but I used a process of elimination. Close all opened windows. Select a bunch of windows, right click, find in files, and perform any search. Keep going until you find the single window with the issue

3 Likes

Hi @nminchin, I'm on Ignition 8.1.44 and I have even a worst problem:
none of the types of find/search works if the interested window isn't opened and the console has no error. I even tried to delete almost everything from my project.

As you can see it finds the result only if the window is open and the debug console has no errors:

Actually I found out the problem is that it doesn't searches in the content of the template custom property "path" (the text "TT111" is contained in this field) if the window is closed. BUT if I search the name of an object in the windows (for example a template "call" like "AnMon 2") it works even if the window is closed:

Is really annoying to open all the windows everytime, did anyone find a solution to this problem?

Should I open a new thread as I have a newer version?

For Vision specifically, with template parameters and other dynamic properties, this is a known limitation of find & replace:

Really sad to know you aren't looking anymore for a fix...

At this point I suggest a workaround to search (and replace, but is more tricky) in these fields.

  1. First of all select "XML" as "Resource Encoding" in Vision settings:

  2. MANUALLY open all the windows and templates, close them and when Ignition ask to commit changes press "Yes". Save the project to apply changes and you will have all the windows and templates converted from .bin to .xml
    This is needed as the property "Resource Encoding" is "anterograde" (Vision Project Properties | Ignition User Manual)

  3. Now open your project folder at this path: "C:\Program Files\Inductive Automation\Ignition\data\projects", enable search in the files with windows explorer and it's done! Now you can search in files, once you found what you were searching, you can make the edits in Ignition Designer.

  4. If you want to find and replace in all the project without using Ignition, you can use tools like "Visual Studio Code", but before changes will be effective you have to restart the designer and the gateway, so I suggest to close the designer and stop the gateway before starting with the edit (at this path: "C:\Program Files\Inductive Automation\Ignition" you can find "start-ignition.bat" and "stop-ignition.bat")

1 Like

This isn't correct. The gateway scans the file system every 5mins, so you can either wait for that and then do an update in the designer, or you can run system.project.requestScan() within gateway scope and then do the update (and I find you need a save too)

2 Likes

Thanks for the reply!

In addition to my previous post I want to edit the step number 4:

  1. If you want to find and replace in all the project without using Ignition, you can use tools like "Visual Studio Code". To make changes effective I created the memory tag "requestScanOnValueChange" with the script call to "system.project.requestScan()"

    Manually change the value of the tag from the tag browser to scan the project changes from VSCode
    image
    Request an "Update Project" from the toolbar (or press Ctrl+Shift+U)

And it's done! :smiley: