Jump to content
Ketarin forum

Self-Refering Variable Error


Kerberos
 Share

Recommended Posts

When adding a variable in the EditVariablesDialog window, once you add a variable, it's name immediately appears in the context menu. Attempting to use the variable in it's own definition results in errors. For example, using the variable in it's own URL definition results in an unhandled System.Net.WebException in "UrlVariable:ReplaceInString(string value, bool onlyCached)" because Ketarin attempts an HTTP request for "%Working_Dir%\{varname}", %Working_Dir% being wherever Ketarin is being run from.

 

It wouldn't make sense to use a variable in it's own definition to begin with, so could you maybe exclude the variable being defined from the context menu?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.