View Issue Details

IDProjectCategoryView StatusLast Update
0008424Multi Theft Auto : San AndreasScriptingpublic2014-08-10 18:47
ReporterGallardo9944Assigned ToCazomino05 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target Version1.4.1Fixed in Version1.4.1 
Summary0008424: Clientside fromJSON is broken for 1.4
Description

http://er-mta.net/curltoken.php?s=bring_me_the_horizon -- Opens fine in the browser

fetchRemote("http://er-mta.net/curltoken.php?s=bring_me_the_horizon",callback,"",false,localPlayer) - No errors

error is 0

local json = fromJSON("["..data.."]") -- json is actually a table

local response = json['response']
local amount = #response['url']
outputDebugString(amount) -- 0

TagsNo tags attached.

Relationships

related to 0008441 resolvedCazomino05 Source patches Patch for #8424 (Clientside fromJSON is broken for 1.4) 

Activities

mickdermack

2014-08-04 00:37

viewer   ~~0021652

Not only clientside, server was broken too.

Patch:
http://cker.li/patches/mta/bugfix-8424-JSON_null.patch
I took the chance to add a bit of consistency to formatting.

Issue History

Date Modified Username Field Change