{"action":"created","issue":{"url":"https://api.github.com/repos/runrev/livecode/issues/2836","labels_url":"https://api.github.com/repos/runrev/livecode/issues/2836/labels{/name}","comments_url":"https://api.github.com/repos/runrev/livecode/issues/2836/comments","events_url":"https://api.github.com/repos/runrev/livecode/issues/2836/events","html_url":"https://github.com/runrev/livecode/pull/2836","id":104857213,"number":2836,"title":"[[ Bug 15799 ]] Array containing empty array encoded in 7.0 won't load in 6.7","user":{"login":"runrevmark","id":3985298,"avatar_url":"https://avatars.githubusercontent.com/u/3985298?v=3","gravatar_id":"","url":"https://api.github.com/users/runrevmark","html_url":"https://github.com/runrevmark","followers_url":"https://api.github.com/users/runrevmark/followers","following_url":"https://api.github.com/users/runrevmark/following{/other_user}","gists_url":"https://api.github.com/users/runrevmark/gists{/gist_id}","starred_url":"https://api.github.com/users/runrevmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runrevmark/subscriptions","organizations_url":"https://api.github.com/users/runrevmark/orgs","repos_url":"https://api.github.com/users/runrevmark/repos","events_url":"https://api.github.com/users/runrevmark/events{/privacy}","received_events_url":"https://api.github.com/users/runrevmark/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/runrev/livecode/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/runrev/livecode/labels/LCS","name":"LCS","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/runrev/livecode/milestones/61","html_url":"https://github.com/runrev/livecode/milestones/6.7.8-rc-1","labels_url":"https://api.github.com/repos/runrev/livecode/milestones/61/labels","id":1200108,"number":61,"title":"6.7.8-rc-1","description":null,"creator":{"login":"livecodesebastien","id":4599299,"avatar_url":"https://avatars.githubusercontent.com/u/4599299?v=3","gravatar_id":"","url":"https://api.github.com/users/livecodesebastien","html_url":"https://github.com/livecodesebastien","followers_url":"https://api.github.com/users/livecodesebastien/followers","following_url":"https://api.github.com/users/livecodesebastien/following{/other_user}","gists_url":"https://api.github.com/users/livecodesebastien/gists{/gist_id}","starred_url":"https://api.github.com/users/livecodesebastien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livecodesebastien/subscriptions","organizations_url":"https://api.github.com/users/livecodesebastien/orgs","repos_url":"https://api.github.com/users/livecodesebastien/repos","events_url":"https://api.github.com/users/livecodesebastien/events{/privacy}","received_events_url":"https://api.github.com/users/livecodesebastien/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":25,"state":"open","created_at":"2015-07-09T08:15:59Z","updated_at":"2015-09-04T09:28:16Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-09-04T09:28:16Z","updated_at":"2015-09-04T09:44:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/runrev/livecode/pulls/2836","html_url":"https://github.com/runrev/livecode/pull/2836","diff_url":"https://github.com/runrev/livecode/pull/2836.diff","patch_url":"https://github.com/runrev/livecode/pull/2836.patch"},"body":"The 7.x engines are currently (in some cases) encoding empty arrays as an array with 0 elements\r\nwhen encoding the array in 6.7 format. Unfortunately, this is not quite compatible with the\r\nprevious method 6.7 uses to decode - where it assumes that empty arrays will not appear at all\r\nand be empty strings instead (which is consistent with the 6.7 execution model).\r\n\r\nThis has been fixed by making sure the 6.7 engine looks for the terminating byte of the array\r\nif it has 0 elements."},"comment":{"url":"https://api.github.com/repos/runrev/livecode/issues/comments/137691904","html_url":"https://github.com/runrev/livecode/pull/2836#issuecomment-137691904","issue_url":"https://api.github.com/repos/runrev/livecode/issues/2836","id":137691904,"user":{"login":"livecodefraser","id":5311346,"avatar_url":"https://avatars.githubusercontent.com/u/5311346?v=3","gravatar_id":"","url":"https://api.github.com/users/livecodefraser","html_url":"https://github.com/livecodefraser","followers_url":"https://api.github.com/users/livecodefraser/followers","following_url":"https://api.github.com/users/livecodefraser/following{/other_user}","gists_url":"https://api.github.com/users/livecodefraser/gists{/gist_id}","starred_url":"https://api.github.com/users/livecodefraser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livecodefraser/subscriptions","organizations_url":"https://api.github.com/users/livecodefraser/orgs","repos_url":"https://api.github.com/users/livecodefraser/repos","events_url":"https://api.github.com/users/livecodefraser/events{/privacy}","received_events_url":"https://api.github.com/users/livecodefraser/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T09:44:27Z","updated_at":"2015-09-04T09:44:27Z","body":"@livecode-vulcan review okay dad1efe"}}