Page 1 of 1

URL, strange output??

Posted: Thu Mar 28, 2013 1:46 pm
by ChrisMukrow
Dear LiveCoders,

I'm trying to load some XML into Livecode, this works when I use a "hardcoded link":

Code: Select all

put URL "URL TO XML PAGE" into tXMLprofile
But when I use a variable it doesn't work:

Code: Select all

put itemLinkHolder into tURLprofile
put URL tURLprofile into tXMLprofile
When I put the variable into a field, the links are identical. But when I put tXMLprofile into a field and I use a variable, it's different. It removes a part of the url, profile.php instead of profile.php/?id=1 and when I use the profile.php "hardcoded" the output is also different.

I think the problem is the URL part, is there a workaround? Maybe quote the variable, is this possible?

What am I doing wrong, any ideas?

Kind regards,

Chris

Re: URL, strange output??

Posted: Thu Mar 28, 2013 2:16 pm
by FourthWorld
You can quote the URL, but since URLs don't normally have quotes that probably won't do what you need.

Chances are the problem lies with the way the value is put into the variable. Can you post the complete code so we can see what's happening end to end?

Re: URL, strange output??

Posted: Tue Apr 02, 2013 2:42 pm
by ChrisMukrow
Thanks Richard for your help! The problem got solved, kinda... It's a bug, I submitted a bug report and now I'm waiting for a fix.

Re: URL, strange output??

Posted: Tue May 28, 2013 5:05 am
by ooper
Hi Chris, do you know if this problem was fixed in a new release? Thanks!

Re: URL, strange output??

Posted: Wed Jun 05, 2013 11:02 am
by ChrisMukrow
Hi,

Sorry for my late response. No it's still not fixed, after 2 months with an quick incident ticket... You can follow the bug on the bug tracker: http://quality.runrev.com/show_bug.cgi?id=10800