More IPFS Hijinks! - Hilary Stoupa
in

InfoPath Dev

Hilary Stoupa

More IPFS Hijinks!

This one was a treat. Worked flawlessly in preview, of course.

The admin approved browser form had some buttons that were switching views. The IPFS error was:

An editing action referred to a field or control that cannot be found in the current view.

The log files helpfully supplemented this with:

The StateManager is disposing and calling ReleaseLockedStates() (Count=0) 

I added new buttons and was able to switch views without error - the original buttons had similar actions and had been copied / pasted from one view to the next - they'd maintained the same control ID. So, I changed the names on the buttons - just added "a", "b", "c" etc.

And the error went away. I don't know whether to be happy that I found the issue, or sad that it was so hard to find and the error messages were so meaningless.

 

Comments

No Comments

About Hilary Stoupa

I wandered into development after working as a business process analyst for a global manufacturing company. I create InfoPath solutions for our clients as well as work as a developer on company tools that extend InfoPath. I've also been instrumental in creating the InfoPath Master Class training provided by Qdabra.

Copyright © 2003-2012 Qdabra Software. All rights reserved.
View our Terms of Use.