Thielak
Developer
Posts: 14
Joined: Tue May 02, 2017 11:59 pm

Check for possible loops

Mon Jun 12, 2017 1:58 am

Syn.Bot Studio outright crashes after getting in a loop (e.g. with faulty Goto). Is there any setting (or could you add one) that limits the amount of Gotos the bot should go through before issuing a time out response?

User avatar
Fantom
Help & Support
Posts: 304
Joined: Fri Oct 25, 2013 9:20 pm

Re: Check for possible loops

Mon Jun 12, 2017 2:20 am

Any example codes that can help me reproduce the crash and forward to the team? Thanks

Thielak
Developer
Posts: 14
Joined: Tue May 02, 2017 11:59 pm

Re: Check for possible loops

Mon Jun 12, 2017 3:03 am

The simplest thing I can think of is just a model that calls itself through Goto.

Code: Select all

<Model>
	<Pattern>TESTCRASH</Pattern>
	<Response><Goto>TESTCRASH</Goto></Response>
</Model>
Of course the same thing happens when 2 models end up calling each other and so on.
I actually found the issue in the siml-english-base, using the message "donation" in syn.bot studio, so maybe check that as well, thank you!

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest