Custom code widget asks to save changes, when none made

Testing out an upgrade from 10.1.400 to 10.2.300, and I noticed that if I look at the Custom Code of an Execute Cust Code widget, and then exit (without having made any changes), it asks if changes should be saved.

Should this concern me? It kind of implies that source code of my widget may not match the “compiled code” stored with the BPM.

I don’t have to open up every Cust Code widget in every BPM and “re-save” it, do I?

1 Like

This happens to me as well and is annoying, but I just ignore it. They also need to remove the CancelButton property from the custom code form, I always accidentally hit escape out of habit and then this dialog appears and you can’t cancel out of the dialog and are forced to close the editor.

I only see this on the first time I use the editor on custom code that came over with an upgrade. I launch the code editor, hit Cancel, and click Yes to save. The next time I do the same, I’m not prompted when I close it with having made any changes.

Getting prompted to save changes - when I didn’t make any - always makes me think I must have bumped the keyboard or accidentally highlighted some text and overwrote it.

Edit

Actually it does ask again if I close and re-open the BPM Workflow.

Also, if I view the code (no changes), hit cancel, then the save icon in the BPM Workflow becomes active, like if a change had actually been made.

Could it be as simple as the widget screen has a new layout and it’s trying to update the layout and image?

It could be. But I assumed that it might be a difference between ICE 3.1.400 and 3.2.300. Maybe something in the way the text is stored (like CR vs CRLF, or expanding tabs, etc …)

I think somewhere along the line, Epicor code is asking this more often than it should. We have non-updateable dashboards that ask this. (didn’t happen when we were on 10.1, but somewhere in 10.2 it started occuring)

1 Like

This happens to me. 10.2.300.15

I just ignore it