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

Invoking Rest service causing page content to disappear

Go to screen_device_profile_test page, select the service instance, open Events tab, there is custom JavaScript that has the error.

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

Invoking Rest service causing page content to disappear

that's the wrong page, sorry, my initial link was wrong, i've fixed it now, the page causing the error is of the same name without _test

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

Invoking Rest service causing page content to disappear

What's a valid id for device?

I got this response:

Image

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

Invoking Rest service causing page content to disappear

10001
That error response is still valid JSON, so it should cause any errors on the tiggzi side of things

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

Invoking Rest service causing page content to disappear

OK, should be working. I removed the service instance, added it back and mapped again.

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

Invoking Rest service causing page content to disappear

Thanks,
Do you have any idea why it wasn't working?

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

Invoking Rest service causing page content to disappear

I'm not sure.. something happened with code generation. Removing and adding back helped. If you experience this again, do let us know.

Tim5052033
Posts: 0
Joined: Wed Sep 26, 2012 5:27 am

Invoking Rest service causing page content to disappear

Hi Max,

I'm experiencing a similar issue - even if I remove all JS.

The new page loads for an instant then is immediately greyed out and doesn't return. No errors are reported and when I inspect the test/rendered iframe code it appears to be a previous page (despite the toPage being correct).

Any ideas?

Thanks,

Tim
Ps: screenshot left out - the full viewport is grey :)

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

Invoking Rest service causing page content to disappear

Try removing the service from the page. Save. Run the app. Add the service back.

Tim5052033
Posts: 0
Joined: Wed Sep 26, 2012 5:27 am

Invoking Rest service causing page content to disappear

Works perfectly. Thanks!

Return to “Issues”