Hi,
We upgraded to Ignition version Nightly 8.0.3-b20190613.
After this our mobileaps QR-scanner function stopped working.
(No changes to this script was made).
The script is just “Scan Barcode” in a button and in the session events under the “BarcodeScanned” we have:
session.custom.qrCode = data.text
This worked previously.
Does this have something to do with:
“13182, 13681: Perspective Session Refactor and Implement Close Session Script”-Bug fix?
The ticket you referenced should not have impacted this functionality. I’m currently updating to the 6/17 build and will attempt to replicate your issue.
I am, however, seeing the following error, so perhaps that ticket is indeed related. I’ll speak with the dev and get back to you.
java.lang.ClassCastException: class com.inductiveautomation.perspective.gateway.session.SecuredPerspectiveProjectSession cannot be cast to class com.inductiveautomation.perspective.gateway.session.AbstractSession (com.inductiveautomation.perspective.gateway.session.SecuredPerspectiveProjectSession and com.inductiveautomation.perspective.gateway.session.AbstractSession are in unnamed module of loader com.inductiveautomation.ignition.gateway.bootstrap.NonLockingUrlClassLoader @26e43e5b)
This issue was fixed in the 8.0.3 nightly build that was uploaded today (6/19).