Page 1 of 1
Unexpected error, please try again
Posted: Mon Jan 09, 2012 12:18 pm
by saurabh
Getting "Unexpected error, please try again" error. I removed the services and their invocation to ensure they are not causing any issue, but still no luck. Not sure where to check to debug the issue.
http://gotiggr.com/project/24250
Unexpected error, please try again
Posted: Mon Jan 09, 2012 1:43 pm
by maxkatz
Usually removing event/service invocation works. Please check there are no other screens with events/service invocation. If still not working, please share the app with a href="mailto:support@gotiggr.com" rel="nofollow"support@gotiggr.com/a (from Projects page).
Unexpected error, please try again
Posted: Mon Jan 09, 2012 2:13 pm
by saurabh
Max, thanks for your reply. The app has just a single screen. I have shared the app with support.
Unexpected error, please try again
Posted: Mon Jan 09, 2012 5:45 pm
by maxkatz
Try deleting 'submitAddress' service. Test the app. Then you will need to create the service again. I'm going to file this as a bug but this workaround should work.
Unexpected error, please try again
Posted: Mon Jan 09, 2012 6:53 pm
by maxkatz
Ah.. fixed your app. For service 'populateName' - you had 'Barcode service' selected as security context. That's what caused the problem. Once you set it to none, it works fine.
Unexpected error, please try again
Posted: Tue Jan 10, 2012 6:56 am
by saurabh
Max, Thanks for your help. I thought I have deleted both the services. Where did you see them?
[Edit] Looks like I found the answer in Tiggr documentation. Though I deleted the services from the screen, they were still part of the project and available via Project Menu - Assets option.
Unexpected error, please try again
Posted: Tue Jan 10, 2012 10:36 am
by saurabh
Max, I am getting another error now while continuing with the app development. While trying to click the submit button, a web service is being invoked. While testing, following error pops up in chrome, "TypeError cannot call method 'trim' of undefined". In Firefox, the same error is reported as "TypeError this.findComponent.attr(entry.ATTR) is undefined. Can you please suggest how to debug this. Thanks
Unexpected error, please try again
Posted: Tue Jan 10, 2012 11:31 am
by saurabh
Looks like this is related to the input mapping for the rest-service-2. If messageLog is mapped to appGrid1, I get the above error. Even if this mapping is set to none, error event is generated on service invocation.
[Edit:] This error got resolved when I opted to use Tiggr Proxy for the rest web service.