Error using PARSE and LC 7.0 RC1 on IOS 7.1

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
JeanGuilbault
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 21
Joined: Wed Apr 18, 2012 9:32 pm

Error using PARSE and LC 7.0 RC1 on IOS 7.1

Post by JeanGuilbault » Mon Sep 22, 2014 9:56 pm

Bonjour
I recemtly tested Neil Rogers Livecode stack PARSE REST example file and is PARSE database from the Summer School 2014.
Using is code I was able to test with no errors results on Mac (9.4.1), Windows (8.1) IOS iPad and iPhone (IOS 7.1) and Android cel.
Using Livecode commercial 6.6.3, Xcode 5.1.1. The example from Neil use Mark Smith libjson library.

To make shure that Neil's code was working as the base I recompiled using Livecode 7.0 RC-1 and is PARSE database.
I was able to have the code work inside the IDE with the same result without changing anything ans still using is PARSE database. I did not test in IOS at that time.

I am presently testing and app that has to support unicode in French, English, Spanish and German at the start.
I proceded to use Neil's code as a Base and modified it using Livecode 7.0 RC-1 and Xcode 5.1.1.

Using Neil' stack as a base, I I then ajusted some unicode code to support passing accented words in the search query of PARSE REST and was able to test a CRUD with PARSE REST command and my own PARSE database.
I was able to create, modify and search with accented words (such as été = summer etc...) and return the results and dsiplay them correctly into fields.

I compiled test app for Mac(OSX 9.4.1) and Windows (8.1) with no error, and tested them on different computers with success.

The error started to show up when I tested IOS with the simulator on an iPad4 (IOS 7.1). In both situation the app loads, then is stop working and close if I touch any button that call the code for PARSE REST (add, modify or seach)(the same code that works in the IDE).

So I went back to Neil's code exemple (not the one I modified) that work fine with LC 7.0 RC-1 and Xcode 5.1.1 ond my IDE. and behold was not able to have it work on the simulator or the iPAd. I got back the same error when using buttons calling the PARSE REST command.

I am wondering if any of you have encountered the same problem ?
Should I test teh code using a different json library such as Monty GoulDing mergJSON. And does this library support arrays inside arrays in the json struture ?

I would appreciate any advices or comments

Merci
Jean Guilbault

pink
Posts: 280
Joined: Wed Mar 12, 2014 6:18 pm

Re: Error using PARSE and LC 7.0 RC1 on IOS 7.1

Post by pink » Wed Sep 24, 2014 11:00 am

I'm having the same issue with PARSE and LC 7 in my own app

the post data is correct, the URL is correct...

so I'm wondering if either:

1. there is a difference in http headers which is preventing the data from going through or
2. there is something different in the URL protocol
Greg (pink) Miller

MadPink, LLC
I'm Mad, Pink and Dangerous to Know

Post Reply