Zak Crawford
Posts: 0
Joined: Tue Jul 03, 2012 9:47 am

Invoking Rest service causing page content to disappear

Created a page to load some JSON data into, was working great (and every other screen in the app works fine) until just now, no change to it at all, just came back to test it and when i click the button to invoke the service it makes the request to the server, and gets valid json back, but empties the screen of all contents except sometimes I get a random piece of data returned from the service as plain text.

I've removed all response mapping and the results are the same. I have no custom objects or scripts running on the page. Did some poking with firebug and have come to the conclusion that tiggzi is causing the problem. Maybe the ajax overlay is clearing everything out and not putting it back?

Can provide link to application via email/pm if needed, hopefully this is a known issue and I'm just not seeing the obvious source of the problem.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Invoking Rest service causing page content to disappear

Does the service work when you do Test?

Please share your app for collaboration with a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a

Zak Crawford
Posts: 0
Joined: Tue Jul 03, 2012 9:47 am

Invoking Rest service causing page content to disappear

Shared the project with you.

The service is fine, the JSON is valid, and even when the page is told to do nothing with the data it has the same reaction.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Invoking Rest service causing page content to disappear

How do I reproduce the problem?

Zak Crawford
Posts: 0
Joined: Tue Jul 03, 2012 9:47 am

Invoking Rest service causing page content to disappear

test the page and click device profile

Zak Crawford
Posts: 0
Joined: Tue Jul 03, 2012 9:47 am

Invoking Rest service causing page content to disappear

edit: oops, link was wrong, just fixed

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Invoking Rest service causing page content to disappear

You fixed the problem?

When I tried it, I got this JS error:
Image

Zak Crawford
Posts: 0
Joined: Tue Jul 03, 2012 9:47 am

Invoking Rest service causing page content to disappear

didn't fix the problem, fixed the link to the page that causes the problem

Not sure how that would be related to the issue, and firebug isn't picking it up (though I am getting the same message as you in chrome).
Have you seen that error before?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Invoking Rest service causing page content to disappear

I didn't see any service being invoked on button click or on page load (on the next page). Where is the service invoked?

Zak Crawford
Posts: 0
Joined: Tue Jul 03, 2012 9:47 am

Invoking Rest service causing page content to disappear

didn't fix the problem, fixed the link to the problem, this error is caused by some unfinished code on a testing page.
Try clicking test - device profile now and see if you get the same error

Return to “Issues”