Cannot save Queries in configurator

If you think that something doesn't work in Aware IM post your message here
Post Reply
BenchmarkDan
Posts: 50
Joined: Sun Aug 10, 2008 7:40 pm
Location: Tulsa, OK
Contact:

Cannot save Queries in configurator

Post by BenchmarkDan »

Getting error when trying to save queries in configurator. Accross all BSVs.

Unable to generate preview due to system error 'parser' is undefined.
Dan
_______________________________________________
V8.4 Developer Edition Build 2722. MS SQL Windows
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Re: Cannot save Queries in configurator

Post by tford »

No idea, but have you closed down your Control Panel & restarted it? Also try rebooting your server.
Tom - V8.8 build 3137 - MySql / PostGres
BenchmarkDan
Posts: 50
Joined: Sun Aug 10, 2008 7:40 pm
Location: Tulsa, OK
Contact:

Re: Cannot save Queries in configurator

Post by BenchmarkDan »

Hi Tom,

Yep, both.
Dan
_______________________________________________
V8.4 Developer Edition Build 2722. MS SQL Windows
PointsWell
Posts: 1457
Joined: Tue Jan 24, 2017 5:51 am
Location: 'Stralya

Re: Cannot save Queries in configurator

Post by PointsWell »

Question: When you update AIM do you cut and paste a prior version of your:
  • startup.html
  • previewForm.html
  • previewQuery.html and
  • previewPerspective.html files
If so then there is a possibility that you have not got the correct version of the js scripts referenced in the header:

Code: Select all

	<script src="KendoUI/js/kendo.mobile.min.js"></script>
    <script src="jquery-ui-1.11.4/jquery-ui.min.js"></script>
	<script type="text/javascript" src="aware_kendo/aware.js"></script>
	<script type="text/javascript" src="aware_kendo/parsers/customLayoutParser.js"></script>
	<script type="text/javascript" src="aware_kendo/parsers/customMobileParser.js"></script>
	<script type="text/javascript" src="aware_kendo/parsers/scrollViewParser.js"></script>
	<script type="text/javascript" src="aware_kendo/parsers/calendarParser.js"></script>
	<script type="text/javascript" src="aware_kendo/parsers/chartParser.js"></script>
	<script type="text/javascript" src="aware_kendo/parsers/treeGridParser.js"></script>
	<script type="text/javascript" src="aware_kendo/parsers/formPreviewParser.js"></script>
	<script type="text/javascript" src="aware_kendo/parsers/kanbanParser.js"></script>		
	<script type="text/javascript" src="signature/signature_pad.js"></script>
I did not update these and I could not get the Kanban parser to work and was getting the parser error message.
customaware
Posts: 2391
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: Cannot save Queries in configurator

Post by customaware »

BenchmarkDan wrote:Getting error when trying to save queries in configurator. Accross all BSVs.

Unable to generate preview due to system error 'parser' is undefined.
Are you seeing a Preview when editing a Business Object Form?
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
Jaymer
Posts: 2430
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: Cannot save Queries in configurator

Post by Jaymer »

i've been getting that on 8.x since April or May 2018.
Started when I installed a SSL certif.
Feel like I'm back in v7 days cause I have to do all forms with NO PREVIEW.
Am sure I asked about this before, and got no help/resolution.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
craigd
Posts: 17
Joined: Fri Nov 16, 2018 7:07 am
Location: Canada

Re: Cannot save Queries in configurator

Post by craigd »

There is an AwareIM conf file that needed all the URL, and port settings. Correcting that fixed the preview mess. I'll find the conf file name.
BenchmarkDan
Posts: 50
Joined: Sun Aug 10, 2008 7:40 pm
Location: Tulsa, OK
Contact:

Re: Cannot save Queries in configurator

Post by BenchmarkDan »

Solved.

Hi PointsWell, didn't happen after an upgrade just started out of the blue.

Mark and Jaymer - you guys are close to the problem. No can't preview. Seems preview breaking was due to an underlying issue with the SSL certificate.

Solved thanks to Suwandy.

If I understand (big if) - apparently the UIConfig.props file got reset to default. Suwandy thought it might happen after a restart of the AwareIM Control Panel. (And, it seems this did begin after a restart).

Thanks all.
Dan
_______________________________________________
V8.4 Developer Edition Build 2722. MS SQL Windows
BenchmarkDan
Posts: 50
Joined: Sun Aug 10, 2008 7:40 pm
Location: Tulsa, OK
Contact:

Re: Cannot save Queries in configurator

Post by BenchmarkDan »

craigd -

Some how I missed your response. Looks like you have bumped into this previously and solved it.

Thank you.
Dan
_______________________________________________
V8.4 Developer Edition Build 2722. MS SQL Windows
craigd
Posts: 17
Joined: Fri Nov 16, 2018 7:07 am
Location: Canada

Re: Cannot save Queries in configurator

Post by craigd »

All, your mileage may vary. I sure this isn't new to most.

Update the UIConfig.props file and then restart AwareIM/Tomcat. Below are my notes so I don't have to reinvent things when AwareIM magically modifies the file without telling me.

It's just powershell showing the diff between old and new. Same as UNIX diff.

Code: Select all

PS C:\AwareIM\bin> Compare-Object (gc .\UIConfig.props) (gc .\UIConfig.props.original) -SyncWindow 0 | ? { $_.SideIndicator -eq "<=" }

InputObject                                                           SideIndicator
-----------                                                           -------------
HostServer=apps.<mydomain>                                           <=
WebServer=apps.<mydomain>                                            <=
OperationMode=https\://apps.<mydomain>\:8443/AwareIM/logonAdmin.html  <=
WebServerPort=8443                                                     <=
WebServerProtocol=https                                                <=
Post Reply