Page 1 of 1

Error logic changed since update

Posted: Thu Nov 13, 2014 1:59 pm
by Louis

Hi,

Before the update, I had a few errors messages that would enable (visible) when a service would fail (Data Error: Set property and on Success show what ever was being pulled). All working fine. It also worked if the content wasn't XML or JSON compatible. For example: If a feed no longer exists and the page has thrown a 404 redirect, it would treat it like an error and the messages would be enabled.

Since the update, error is now only thrown if the connection is a complete fail. If the actual page isn't correct, it just ignores it and acts as no error occurred.

Do you suggest anything to get it back to how it worked before?

Regards,
Louis


Error logic changed since update

Posted: Thu Nov 13, 2014 4:48 pm
by Evgene Karachevtsev

Hello Louis,

Unfortunately (or fortunately) we can't reproduce it. The logic works the same as for me. Could you please provide us with more info of what do you get in response?


Error logic changed since update

Posted: Fri Nov 14, 2014 9:24 am
by Louis

No worries - It's not a big deal. I was just wondering if you were aware of any changes that might of done this.

Scenario:

  • Error message that has visible set to false on load / page show of page.

  • The rest service is then called, if success show content, if error message visible becomes enabled and the content stays disabled.

  • Before the update, the error would be called either if the connection failed or if the page isn't the correct language i.e. loading html 404 when the rest service expected JSON or XML.

  • After update, the error handler is only called if the connection failed. If the document is not what the rest service expected, it still counts as a success. So the error handler is never called.

    This might not be an error and made this way, but I was just making sure that you were aware of this change since the update.

    Regards,
    Louis


Error logic changed since update

Posted: Sun Nov 16, 2014 11:37 pm
by Yurii Orishchuk

Hi Louis,

I've tried to do the same but i can not reproduce this issue.

Here is what is tried:

1.That's my service settings.
http://prntscr.com/574ub3/direct

  1. That's my events for this service.
    http://prntscr.com/574upl/direct

  2. That's result, when invoked on the page:
    http://prntscr.com/574vic/direct

    So please try to do the same from scratch. And please provide us screen shots with your testings if you will have this problem again.

    Regards.