URL, strange output??

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ChrisMukrow
Posts: 73
Joined: Mon Nov 12, 2012 4:13 pm

URL, strange output??

Post by ChrisMukrow » Thu Mar 28, 2013 1:46 pm

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

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9867
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: URL, strange output??

Post by FourthWorld » Thu Mar 28, 2013 2:16 pm

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?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

ChrisMukrow
Posts: 73
Joined: Mon Nov 12, 2012 4:13 pm

Re: URL, strange output??

Post by ChrisMukrow » Tue Apr 02, 2013 2:42 pm

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.

ooper
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 46
Joined: Mon Aug 17, 2009 12:22 am

Re: URL, strange output??

Post by ooper » Tue May 28, 2013 5:05 am

Hi Chris, do you know if this problem was fixed in a new release? Thanks!

ChrisMukrow
Posts: 73
Joined: Mon Nov 12, 2012 4:13 pm

Re: URL, strange output??

Post by ChrisMukrow » Wed Jun 05, 2013 11:02 am

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

Post Reply

Return to “iOS Deployment”