Installed latest build and js errors
I just installed the latest build (4346_4889) and I'm receiving the following javascript error on several on click, on change, and on focus events throughout my UX:
Unhandled Javascript Error - _restoreListLow: "Uncaught ReferenceError: onChange_97931801690f4de3bae167aa2d93606a is not defined"
I should add that the javascript was working fine before updating for the latest build.
Any ideas?
Re: Installed latest build and js errors
I started getting the same errors. There was a fix for the onchange event. Maybe the fix broke it even more.
Re: Installed latest build and js errors
Thanks Lee. Do you know what build the fix was in?
Re: Installed latest build and js errors
One cause of these errors is including bad Javascript syntax in your code. If your Javascript breaks, then required libraries may not get loaded and Alpha Javascript may not have what it needs to run. Older versions of Alpha Anywhere were more lenient when you excluded ending semi-colons in your code. The current release is less tolerant... as it should be. A clean-up of project code may do the trick.
Re: Installed latest build and js errors
Thanks David - is there a quick way to clean up project code?
Re: Installed latest build and js errors
Nope... you just have to slug through the events and functions and actions you've got.
Re: Installed latest build and js errors
Important! Pre-rendered UX Components containing a List with updatable Detail View need to be recalculated in Alpha Anywhere 4.4.4. From the release notes:
Quote:
Alpha Anywhere V4.4.4 - Build 4346-4889 18-May-2017
NOTICE: Alpha Anywhere is now being being built with Visual Studio 2015. Previously Alpha Anywhere was built using Visual Studio 2013.
IMPORTANT: If you have UX components with Lists that have updatable Detail Views and these UX components were defined as pre-rendered then you will need to edit these components and resave them so that the pre-rendered code can be re-generated. You can use the
Edit, Bulk Operations, Recalculate UX Components menu item to do a bulk update of your UX components.
Try recalculating your UX Component first.
Re: Installed latest build and js errors
I upgraded the build on my server this AM from 4269-4867 to 4346-4889 and got an error when trying to save a file to my Customers Table. The error was telling me an argument was missing in my SQL. I rolled the release back and everything work fine.
I reread the notes and followed the procedure to re-generate my lists. Published my files and everything worked fine.
So I updated the server to the latest build (4346-4889) and the error happened again. I rolled it back to 4269_4867 and all is good again.
Any ideas how to fix? I did not think I had the pre-rendered code on and I did the bulk edit as described in the notes.
Re: Installed latest build and js errors
This is something different than Scott had. Scott, literally, had Javascript errors... missing semi-colons in his code which caused the errors he reported. Adding the semi-colons cleared the errors.
Re: Installed latest build and js errors
Like everybody else on V12, I'm getting an invite on startup to download build 4346. I did this and then couldn't start Alpha: missing VCRUNTIME140.dll so I had to uninstall and revert back to the earlier build. Having read this thread, I'm not sure I want the new patch yet...
Meanwhile, I'm having a problem with tables, which is why I tried to install the patch. If I amend any cell properties in a table, on save, that cell inserts in own background and border colours. I am then forced to amend them to white - leave them blank and they change colour. Does anybody if this been reported elsewhere? And does this patch fix it?
1 Attachment(s)
Re: Installed latest build and js errors
I keep getting this error when I open a particular UX in a tabbed UI:
Unhandled Javascript Error "Uncaught TypeError: Cannot set property of 'userSelect' of undefined"
I have not been able to find the cause.
Attachment 43588