This is the second time this has happened to me where my custom session properties are gone. I had approx. 20 of them and at some point they just disappeared.
I see a lot of other posts about people losing bindings to them among other things but I don't believe I saw one where the session properties were essentially deleted.
Does anyone else ever experienced this problem?
The Ignition Edge version is 8.1.23
Did you export / import from another project, by any chance?
I think I experienced session props loss when I exported them from one project into another. I expected them to be merged but it seemed to replace them in the destination project. You could test it out quite quickly.
Nope. Nothing was working on the project yesterday and now today once I opened it up and looked at a screen and bindings were failing. They were bounded to custom session properties and I looked and they were just gone.
did you session properties have bindings on them? I have seen sometimes where the properties would disappear but if i added a prop with the same name it would show back up.
I think the reason they were gone is the binding associated with the property was failing.
Same here, I had experience this, when hibernating my machine with designer opened, and the next day star working something happened that the session custom props disappeared... More than ones, and a work mate suffers the same many times..
We opened a ticket but we were never able to recreated it, it happens to me working with 8.1.20
Hi, this has happened to me a few times. Most recently today. I'm running Version 8.1.27 on a MacBook Pro. Discouraging to see that this hasn't been solved despite years of bug reports.
It's to the point where I can't confidently use any Custom Session Properties which is a shame because they're very useful when they stick around. If I'm missing anything or there's a fix, please let me know. Thanks.
Perhaps peek at the \com.inductiveautomation.perspective\session-props\props.json file to see if the props are in the file? Maybe they were somehow marked persistent = false?
Hey @jlandwerlen thanks for the reply. I don't have a session-props folder inside data\modules\com.inductiveautomation.perspective nor can I find anything about that folder or props.json in the Ignition docs. Have any more info on where I could find more on this?
As jland said, the persistent property on them was likely equal to false which means they are lost during an upgrade. I learned this the hard way as well
I had this issue happen to me again (probably the 4th or 5th time). All of my custom session properties are set to persistent and they all just disappeared by themselves. Luckily I've gotten good at manually reimporting a saved export of just the session properties so I only had about 10 minutes of downtime. Curious if I can set up some external logging that tries to dig into this issue for when it happens the next time, which it has proven it will continue to do.
Still having the same issue in 8.1.44. It seems to me like it's related to bad connectivity to the gateway while using the designer, but I don't have a way to confirm this.