Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ios/native] Dictionary with stringified integer keys misconverted as sparse array when converting to JS #15593

Closed
jaredly opened this issue Aug 21, 2017 · 12 comments
Labels
Ran Commands One of our bots successfully processed a command. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@jaredly
Copy link
Contributor

jaredly commented Aug 21, 2017

Have you read the Contributing Guidelines?

Yes

Environment

  1. react-native -v: 0.46

Then, specify:

  • Target Platform: iOS
  • Development Operating System: macOS
  • Build tools: Xcode

Steps to Reproduce

  1. in swift, pass these props to a new react RCTRootView
		let props = [
			"awesome": ["2003": 85.71428571428571, "3002": 28.57142857142857, "3001": 52.38095238095239] as [String: Any],
		] as [String : Any]

		return RCTRootView(
			bridge: bridge,
			moduleName: "Topic",
			initialProperties: props as [NSObject : AnyObject]
		)
  1. run, looking at the logs

Expected Behavior

The logs would say

2017-08-21 13:41:07.290 [info][tid:main][RCTRootView.m:302] Running application Topic ({
    initialProps =     {
        awesome =         {
            2003 = "85.71428571428571";
            2500 = "28.57142857142857";
            3001 = "52.38095238095239";
        };
    };
    rootTag = 31;
})

2017-08-21 13:25:01.785 [info][tid:com.facebook.react.JavaScript] Running application "Topic" with appParams: {"rootTag":31,"initialProps":{"awesome":{"2003":85.71428571428571,"3001":52.38095238095239,"3002":28.57142857142857}}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF

Actual Behavior

2017-08-21 13:41:07.290 [info][tid:main][RCTRootView.m:302] Running application Topic ({
    initialProps =     {
        awesome =         {
            2003 = "85.71428571428571";
            2500 = "28.57142857142857";
            3001 = "52.38095238095239";
        };
    };
    rootTag = 31;
})

2017-08-21 13:25:01.785 [info][tid:com.facebook.react.JavaScript] Running application "Topic" with appParams: {"rootTag":31,"initialProps":{"awesome":{"0":null,"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null,"8":null,"9":null,"10":null,"11":null,"12":null,"13":null,"14":null,"15":null,"16":null,"17":null,"18":null,"19":null,"20":null,"21":null,"22":null,"23":null,"24":null,"25":null,"26":null,"27":null,"28":null,"29":null,"30":null,"31":null,"32":null,"33":null,"34":null,"35":null,"36":null,"37":null,"38":null,"39":null,"40":null,"41":null,"42":null,"43":null,"44":null,"45":null,"46":null,"47":null,"48":null,"49":null,"50":null,"51":null,"52":null,"53":null,"54":null,"55":null,"56":null,"57":null,"58":null,"59":null,"60":null,"61":null,"62":null,"63":null,"64":null,"65":null,"66":null,"67":null,"68":null,"69":null,"70":null,"71":null,"72":null,"73":null,"74":null,"75":null,"76":null,"77":null,"78":null,"79":null,"80":null,"81":null,"82":null,"83":null,"84":null,"85":null,"86":null,"87":null,"88":null,"89":null,"90":null,"91":null,"92":null,"93":null,"94":null,"95":null,"96":null,"97":null,"98":null,"99":null,"100":null,"101":null,"102":null,"103":null,"104":null,"105":null,"106":null,"107":null,"108":null,"109":null,"110":null,"111":null,"112":null,"113":null,"114":null,"115":null,"116":null,"117":null,"118":null,"119":null,"120":null,"121":null,"122":null,"123":null,"124":null,"125":null,"126":null,"127":null,"128":null,"129":null,"130":null,"131":null,"132":null,"133":null,"134":null,"135":null,"136":null,"137":null,"138":null,"139":null,"140":null,"141":null,"142":null,"143":null,"144":null,"145":null,"146":null,"147":null,"148":null,"149":null,"150":null,"151":null,"152":null,"153":null,"154":null,"155":null,"156":null,"157":null,"158":null,"159":null,"160":null,"161":null,"162":null,"163":null,"164":null,"165":null,"166":null,"167":null,"168":null,"169":null,"170":null,"171":null,"172":null,"173":null,"174":null,"175":null,"176":null,"177":null,"178":null,"179":null,"180":null,"181":null,"182":null,"183":null,"184":null,"185":null,"186":null,"187":null,"188":null,"189":null,"190":null,"191":null,"192":null,"193":null,"194":null,"195":null,"196":null,"197":null,"198":null,"199":null,"200":null,"201":null,"202":null,"203":null,"204":null,"205":null,"206":null,"207":null,"208":null,"209":null,"210":null,"211":null,"212":null,"213":null,"214":null,"215":null,"216":null,"217":null,"218":null,"219":null,"220":null,"221":null,"222":null,"223":null,"224":null,"225":null,"226":null,"227":null,"228":null,"229":null,"230":null,"231":null,"232":null,"233":null,"234":null,"235":null,"236":null,"237":null,"238":null,"239":null,"240":null,"241":null,"242":null,"243":null,"244":null,"245":null,"246":null,"247":null,"248":null,"249":null,"250":null,"251":null,"252":null,"253":null,"254":null,"255":null,"256":null,"257":null,"258":null,"259":null,"260":null,"261":null,"262":null,"263":null,"264":null,"265":null,"266":null,"267":null,"268":null,"269":null,"270":null,"271":null,"272":null,"273":null,"274":null,"275":null,"276":null,"277":null,"278":null,"279":null,"280":null,"281":null,"282":null,"283":null,"284":null,"285":null,"286":null,"287":null,"288":null,"289":null,"290":null,"291":null,"292":null,"293":null,"294":null,"295":null,"296":null,"297":null,"298":null,"299":null,"300":null,"301":null,"302":null,"303":null,"304":null,"305":null,"306":null,"307":null,"308":null,"309":null,"310":null,"311":null,"312":null,"313":null,"314":null,"315":null,"316":null,"317":null,"318":null,"319":null,"320":null,"321":null,"322":null,"323":null,"324":null,"325":null,"326":null,"327":null,"328":null,"329":null,"330":null,"331":null,"332":null,"333":null,"334":null,"335":null,"336":null,"337":null,"338":null,"339":null,"340":null,"341":null,"342":null,"343":null,"344":null,"345":null,"346":null,"347":null,"348":null,"349":null,"350":null,"351":null,"352":null,"353":null,"354":null,"355":null,"356":null,"357":null,"358":null,"359":null,"360":null,"361":null,"362":null,"363":null,"364":null,"365":null,"366":null,"367":null,"368":null,"369":null,"370":null,"371":null,"372":null,"373":null,"374":null,"375":null,"376":null,"377":null,"378":null,"379":null,"380":null,"381":null,"382":null,"383":null,"384":null,"385":null,"386":null,"387":null,"388":null,"389":null,"390":null,"391":null,"392":null,"393":null,"394":null,"395":null,"396":null,"397":null,"398":null,"399":null,"400":null,"401":null,"402":null,"403":null,"404":null,"405":null,"406":null,"407":null,"408":null,"409":null,"410":null,"411":null,"412":null,"413":null,"414":null,"415":null,"416":null,"417":null,"418":null,"419":null,"420":null,"421":null,"422":null,"423":null,"424":null,"425":null,"426":null,"427":null,"428":null,"429":null,"430":null,"431":null,"432":null,"433":null,"434":null,"435":null,"436":null,"437":null,"438":null,"439":null,"440":null,"441":null,"442":null,"443":null,"444":null,"445":null,"446":null,"447":null,"448":null,"449":null,"450":null,"451":null,"452":null,"453":null,"454":null,"455":null,"456":null,"457":null,"458":null,"459":null,"460":null,"461":null,"462":null,"463":null,"464":null,"465":null,"466":null,"467":null,"468":null,"469":null,"470":null,"471":null,"472":null,"473":null,"474":null,"475":null,"476":null,"477":null,"478":null,"479":null,"480":null,"481":null,"482":null,"483":null,"484":null,"485":null,"486":null,"487":null,"488":null,"489":null,"490":null,"491":null,"492":null,"493":null,"494":null,"495":null,"496":null,"497":null,"498":null,"499":null,"500":null,"501":null,"502":null,"503":null,"504":null,"505":null,"506":null,"507":null,"508":null,"509":null,"510":null,"511":null,"512":null,"513":null,"514":null,"515":null,"516":null,"517":null,"518":null,"519":null,"520":null,"521":null,"522":null,"523":null,"524":null,"525":null,"526":null,"527":null,"528":null,"529":null,"530":null,"531":null,"532":null,"533":null,"534":null,"535":null,"536":null,"537":null,"538":null,"539":null,"540":null,"541":null,"542":null,"543":null,"544":null,"545":null,"546":null,"547":null,"548":null,"549":null,"550":null,"551":null,"552":null,"553":null,"554":null,"555":null,"556":null,"557":null,"558":null,"559":null,"560":null,"561":null,"562":null,"563":null,"564":null,"565":null,"566":null,"567":null,"568":null,"569":null,"570":null,"571":null,"572":null,"573":null,"574":null,"575":null,"576":null,"577":null,"578":null,"579":null,"580":null,"581":null,"582":null,"583":null,"584":null,"585":null,"586":null,"587":null,"588":null,"589":null,"590":null,"591":null,"592":null,"593":null,"594":null,"595":null,"596":null,"597":null,"598":null,"599":null,"600":null,"601":null,"602":null,"603":null,"604":null,"605":null,"606":null,"607":null,"608":null,"609":null,"610":null,"611":null,"612":null,"613":null,"614":null,"615":null,"616":null,"617":null,"618":null,"619":null,"620":null,"621":null,"622":null,"623":null,"624":null,"625":null,"626":null,"627":null,"628":null,"629":null,"630":null,"631":null,"632":null,"633":null,"634":null,"635":null,"636":null,"637":null,"638":null,"639":null,"640":null,"641":null,"642":null,"643":null,"644":null,"645":null,"646":null,"647":null,"648":null,"649":null,"650":null,"651":null,"652":null,"653":null,"654":null,"655":null,"656":null,"657":null,"658":null,"659":null,"660":null,"661":null,"662":null,"663":null,"664":null,"665":null,"666":null,"667":null,"668":null,"669":null,"670":null,"671":null,"672":null,"673":null,"674":null,"675":null,"676":null,"677":null,"678":null,"679":null,"680":null,"681":null,"682":null,"683":null,"684":null,"685":null,"686":null,"687":null,"688":null,"689":null,"690":null,"691":null,"692":null,"693":null,"694":null,"695":null,"696":null,"697":null,"698":null,"699":null,"700":null,"701":null,"702":null,"703":null,"704":null,"705":null,"706":null,"707":null,"708":null,"709":null,"710":null,"711":null,"712":null,"713":null,"714":null,"715":null,"716":null,"717":null,"718":null,"719":null,"720":null,"721":null,"722":null,"723":null,"724":null,"725":null,"726":null,"727":null,"728":null,"729":null,"730":null,"731":null,"732":null,"733":null,"734":null,"735":null,"736":null,"737":null,"738":null,"739":null,"740":null,"741":null,"742":null,"743":null,"744":null,"745":null,"746":null,"747":null,"748":null,"749":null,"750":null,"751":null,"752":null,"753":null,"754":null,"755":null,"756":null,"757":null,"758":null,"759":null,"760":null,"761":null,"762":null,"763":null,"764":null,"765":null,"766":null,"767":null,"768":null,"769":null,"770":null,"771":null,"772":null,"773":null,"774":null,"775":null,"776":null,"777":null,"778":null,"779":null,"780":null,"781":null,"782":null,"783":null,"784":null,"785":null,"786":null,"787":null,"788":null,"789":null,"790":null,"791":null,"792":null,"793":null,"794":null,"795":null,"796":null,"797":null,"798":null,"799":null,"800":null,"801":null,"802":null,"803":null,"804":null,"805":null,"806":null,"807":null,"808":null,"809":null,"810":null,"811":null,"812":null,"813":null,"814":null,"815":null,"816":null,"817":null,"818":null,"819":null,"820":null,"821":null,"822":null,"823":null,"824":null,"825":null,"826":null,"827":null,"828":null,"829":null,"830":null,"831":null,"832":null,"833":null,"834":null,"835":null,"836":null,"837":null,"838":null,"839":null,"840":null,"841":null,"842":null,"843":null,"844":null,"845":null,"846":null,"847":null,"848":null,"849":null,"850":null,"851":null,"852":null,"853":null,"854":null,"855":null,"856":null,"857":null,"858":null,"859":null,"860":null,"861":null,"862":null,"863":null,"864":null,"865":null,"866":null,"867":null,"868":null,"869":null,"870":null,"871":null,"872":null,"873":null,"874":null,"875":null,"876":null,"877":null,"878":null,"879":null,"880":null,"881":null,"882":null,"883":null,"884":null,"885":null,"886":null,"887":null,"888":null,"889":null,"890":null,"891":null,"892":null,"893":null,"894":null,"895":null,"896":null,"897":null,"898":null,"899":null,"900":null,"901":null,"902":null,"903":null,"904":null,"905":null,"906":null,"907":null,"908":null,"909":null,"910":null,"911":null,"912":null,"913":null,"914":null,"915":null,"916":null,"917":null,"918":null,"919":null,"920":null,"921":null,"922":null,"923":null,"924":null,"925":null,"926":null,"927":null,"928":null,"929":null,"930":null,"931":null,"932":null,"933":null,"934":null,"935":null,"936":null,"937":null,"938":null,"939":null,"940":null,"941":null,"942":null,"943":null,"944":null,"945":null,"946":null,"947":null,"948":null,"949":null,"950":null,"951":null,"952":null,"953":null,"954":null,"955":null,"956":null,"957":null,"958":null,"959":null,"960":null,"961":null,"962":null,"963":null,"964":null,"965":null,"966":null,"967":null,"968":null,"969":null,"970":null,"971":null,"972":null,"973":null,"974":null,"975":null,"976":null,"977":null,"978":null,"979":null,"980":null,"981":null,"982":null,"983":null,"984":null,"985":null,"986":null,"987":null,"988":null,"989":null,"990":null,"991":null,"992":null,"993":null,"994":null,"995":null,"996":null,"997":null,"998":null,"999":null,"1000":null,"1001":null,"1002":null,"1003":null,"1004":null,"1005":null,"1006":null,"1007":null,"1008":null,"1009":null,"1010":null,"1011":null,"1012":null,"1013":null,"1014":null,"1015":null,"1016":null,"1017":null,"1018":null,"1019":null,"1020":null,"1021":null,"1022":null,"1023":null,"1024":null,"1025":null,"1026":null,"1027":null,"1028":null,"1029":null,"1030":null,"1031":null,"1032":null,"1033":null,"1034":null,"1035":null,"1036":null,"1037":null,"1038":null,"1039":null,"1040":null,"1041":null,"1042":null,"1043":null,"1044":null,"1045":null,"1046":null,"1047":null,"1048":null,"1049":null,"1050":null,"1051":null,"1052":null,"1053":null,"1054":null,"1055":null,"1056":null,"1057":null,"1058":null,"1059":null,"1060":null,"1061":null,"1062":null,"1063":null,"1064":null,"1065":null,"1066":null,"1067":null,"1068":null,"1069":null,"1070":null,"1071":null,"1072":null,"1073":null,"1074":null,"1075":null,"1076":null,"1077":null,"1078":null,"1079":null,"1080":null,"1081":null,"1082":null,"1083":null,"1084":null,"1085":null,"1086":null,"1087":null,"1088":null,"1089":null,"1090":null,"1091":null,"1092":null,"1093":null,"1094":null,"1095":null,"1096":null,"1097":null,"1098":null,"1099":null,"1100":null,"1101":null,"1102":null,"1103":null,"1104":null,"1105":null,"1106":null,"1107":null,"1108":null,"1109":null,"1110":null,"1111":null,"1112":null,"1113":null,"1114":null,"1115":null,"1116":null,"1117":null,"1118":null,"1119":null,"1120":null,"1121":null,"1122":null,"1123":null,"1124":null,"1125":null,"1126":null,"1127":null,"1128":null,"1129":null,"1130":null,"1131":null,"1132":null,"1133":null,"1134":null,"1135":null,"1136":null,"1137":null,"1138":null,"1139":null,"1140":null,"1141":null,"1142":null,"1143":null,"1144":null,"1145":null,"1146":null,"1147":null,"1148":null,"1149":null,"1150":null,"1151":null,"1152":null,"1153":null,"1154":null,"1155":null,"1156":null,"1157":null,"1158":null,"1159":null,"1160":null,"1161":null,"1162":null,"1163":null,"1164":null,"1165":null,"1166":null,"1167":null,"1168":null,"1169":null,"1170":null,"1171":null,"1172":null,"1173":null,"1174":null,"1175":null,"1176":null,"1177":null,"1178":null,"1179":null,"1180":null,"1181":null,"1182":null,"1183":null,"1184":null,"1185":null,"1186":null,"1187":null,"1188":null,"1189":null,"1190":null,"1191":null,"1192":null,"1193":null,"1194":null,"1195":null,"1196":null,"1197":null,"1198":null,"1199":null,"1200":null,"1201":null,"1202":null,"1203":null,"1204":null,"1205":null,"1206":null,"1207":null,"1208":null,"1209":null,"1210":null,"1211":null,"1212":null,"1213":null,"1214":null,"1215":null,"1216":null,"1217":null,"1218":null,"1219":null,"1220":null,"1221":null,"1222":null,"1223":null,"1224":null,"1225":null,"1226":null,"1227":null,"1228":null,"1229":null,"1230":null,"1231":null,"1232":null,"1233":null,"1234":null,"1235":null,"1236":null,"1237":null,"1238":null,"1239":null,"1240":null,"1241":null,"1242":null,"1243":null,"1244":null,"1245":null,"1246":null,"1247":null,"1248":null,"1249":null,"1250":null,"1251":null,"1252":null,"1253":null,"1254":null,"1255":null,"1256":null,"1257":null,"1258":null,"1259":null,"1260":null,"1261":null,"1262":null,"1263":null,"1264":null,"1265":null,"1266":null,"1267":null,"1268":null,"1269":null,"1270":null,"1271":null,"1272":null,"1273":null,"1274":null,"1275":null,"1276":null,"1277":null,"1278":null,"1279":null,"1280":null,"1281":null,"1282":null,"1283":null,"1284":null,"1285":null,"1286":null,"1287":null,"1288":null,"1289":null,"1290":null,"1291":null,"1292":null,"1293":null,"1294":null,"1295":null,"1296":null,"1297":null,"1298":null,"1299":null,"1300":null,"1301":null,"1302":null,"1303":null,"1304":null,"1305":null,"1306":null,"1307":null,"1308":null,"1309":null,"1310":null,"1311":null,"1312":null,"1313":null,"1314":null,"1315":null,"1316":null,"1317":null,"1318":null,"1319":null,"1320":null,"1321":null,"1322":null,"1323":null,"1324":null,"1325":null,"1326":null,"1327":null,"1328":null,"1329":null,"1330":null,"1331":null,"1332":null,"1333":null,"1334":null,"1335":null,"1336":null,"1337":null,"1338":null,"1339":null,"1340":null,"1341":null,"1342":null,"1343":null,"1344":null,"1345":null,"1346":null,"1347":null,"1348":null,"1349":null,"1350":null,"1351":null,"1352":null,"1353":null,"1354":null,"1355":null,"1356":null,"1357":null,"1358":null,"1359":null,"1360":null,"1361":null,"1362":null,"1363":null,"1364":null,"1365":null,"1366":null,"1367":null,"1368":null,"1369":null,"1370":null,"1371":null,"1372":null,"1373":null,"1374":null,"1375":null,"1376":null,"1377":null,"1378":null,"1379":null,"1380":null,"1381":null,"1382":null,"1383":null,"1384":null,"1385":null,"1386":null,"1387":null,"1388":null,"1389":null,"1390":null,"1391":null,"1392":null,"1393":null,"1394":null,"1395":null,"1396":null,"1397":null,"1398":null,"1399":null,"1400":null,"1401":null,"1402":null,"1403":null,"1404":null,"1405":null,"1406":null,"1407":null,"1408":null,"1409":null,"1410":null,"1411":null,"1412":null,"1413":null,"1414":null,"1415":null,"1416":null,"1417":null,"1418":null,"1419":null,"1420":null,"1421":null,"1422":null,"1423":null,"1424":null,"1425":null,"1426":null,"1427":null,"1428":null,"1429":null,"1430":null,"1431":null,"1432":null,"1433":null,"1434":null,"1435":null,"1436":null,"1437":null,"1438":null,"1439":null,"1440":null,"1441":null,"1442":null,"1443":null,"1444":null,"1445":null,"1446":null,"1447":null,"1448":null,"1449":null,"1450":null,"1451":null,"1452":null,"1453":null,"1454":null,"1455":null,"1456":null,"1457":null,"1458":null,"1459":null,"1460":null,"1461":null,"1462":null,"1463":null,"1464":null,"1465":null,"1466":null,"1467":null,"1468":null,"1469":null,"1470":null,"1471":null,"1472":null,"1473":null,"1474":null,"1475":null,"1476":null,"1477":null,"1478":null,"1479":null,"1480":null,"1481":null,"1482":null,"1483":null,"1484":null,"1485":null,"1486":null,"1487":null,"1488":null,"1489":null,"1490":null,"1491":null,"1492":null,"1493":null,"1494":null,"1495":null,"1496":null,"1497":null,"1498":null,"1499":null,"1500":null,"1501":null,"1502":null,"1503":null,"1504":null,"1505":null,"1506":null,"1507":null,"1508":null,"1509":null,"1510":null,"1511":null,"1512":null,"1513":null,"1514":null,"1515":null,"1516":null,"1517":null,"1518":null,"1519":null,"1520":null,"1521":null,"1522":null,"1523":null,"1524":null,"1525":null,"1526":null,"1527":null,"1528":null,"1529":null,"1530":null,"1531":null,"1532":null,"1533":null,"1534":null,"1535":null,"1536":null,"1537":null,"1538":null,"1539":null,"1540":null,"1541":null,"1542":null,"1543":null,"1544":null,"1545":null,"1546":null,"1547":null,"1548":null,"1549":null,"1550":null,"1551":null,"1552":null,"1553":null,"1554":null,"1555":null,"1556":null,"1557":null,"1558":null,"1559":null,"1560":null,"1561":null,"1562":null,"1563":null,"1564":null,"1565":null,"1566":null,"1567":null,"1568":null,"1569":null,"1570":null,"1571":null,"1572":null,"1573":null,"1574":null,"1575":null,"1576":null,"1577":null,"1578":null,"1579":null,"1580":null,"1581":null,"1582":null,"1583":null,"1584":null,"1585":null,"1586":null,"1587":null,"1588":null,"1589":null,"1590":null,"1591":null,"1592":null,"1593":null,"1594":null,"1595":null,"1596":null,"1597":null,"1598":null,"1599":null,"1600":null,"1601":null,"1602":null,"1603":null,"1604":null,"1605":null,"1606":null,"1607":null,"1608":null,"1609":null,"1610":null,"1611":null,"1612":null,"1613":null,"1614":null,"1615":null,"1616":null,"1617":null,"1618":null,"1619":null,"1620":null,"1621":null,"1622":null,"1623":null,"1624":null,"1625":null,"1626":null,"1627":null,"1628":null,"1629":null,"1630":null,"1631":null,"1632":null,"1633":null,"1634":null,"1635":null,"1636":null,"1637":null,"1638":null,"1639":null,"1640":null,"1641":null,"1642":null,"1643":null,"1644":null,"1645":null,"1646":null,"1647":null,"1648":null,"1649":null,"1650":null,"1651":null,"1652":null,"1653":null,"1654":null,"1655":null,"1656":null,"1657":null,"1658":null,"1659":null,"1660":null,"1661":null,"1662":null,"1663":null,"1664":null,"1665":null,"1666":null,"1667":null,"1668":null,"1669":null,"1670":null,"1671":null,"1672":null,"1673":null,"1674":null,"1675":null,"1676":null,"1677":null,"1678":null,"1679":null,"1680":null,"1681":null,"1682":null,"1683":null,"1684":null,"1685":null,"1686":null,"1687":null,"1688":null,"1689":null,"1690":null,"1691":null,"1692":null,"1693":null,"1694":null,"1695":null,"1696":null,"1697":null,"1698":null,"1699":null,"1700":null,"1701":null,"1702":null,"1703":null,"1704":null,"1705":null,"1706":null,"1707":null,"1708":null,"1709":null,"1710":null,"1711":null,"1712":null,"1713":null,"1714":null,"1715":null,"1716":null,"1717":null,"1718":null,"1719":null,"1720":null,"1721":null,"1722":null,"1723":null,"1724":null,"1725":null,"1726":null,"1727":null,"1728":null,"1729":null,"1730":null,"1731":null,"1732":null,"1733":null,"1734":null,"1735":null,"1736":null,"1737":null,"1738":null,"1739":null,"1740":null,"1741":null,"1742":null,"1743":null,"1744":null,"1745":null,"1746":null,"1747":null,"1748":null,"1749":null,"1750":null,"1751":null,"1752":null,"1753":null,"1754":null,"1755":null,"1756":null,"1757":null,"1758":null,"1759":null,"1760":null,"1761":null,"1762":null,"1763":null,"1764":null,"1765":null,"1766":null,"1767":null,"1768":null,"1769":null,"1770":null,"1771":null,"1772":null,"1773":null,"1774":null,"1775":null,"1776":null,"1777":null,"1778":null,"1779":null,"1780":null,"1781":null,"1782":null,"1783":null,"1784":null,"1785":null,"1786":null,"1787":null,"1788":null,"1789":null,"1790":null,"1791":null,"1792":null,"1793":null,"1794":null,"1795":null,"1796":null,"1797":null,"1798":null,"1799":null,"1800":null,"1801":null,"1802":null,"1803":null,"1804":null,"1805":null,"1806":null,"1807":null,"1808":null,"1809":null,"1810":null,"1811":null,"1812":null,"1813":null,"1814":null,"1815":null,"1816":null,"1817":null,"1818":null,"1819":null,"1820":null,"1821":null,"1822":null,"1823":null,"1824":null,"1825":null,"1826":null,"1827":null,"1828":null,"1829":null,"1830":null,"1831":null,"1832":null,"1833":null,"1834":null,"1835":null,"1836":null,"1837":null,"1838":null,"1839":null,"1840":null,"1841":null,"1842":null,"1843":null,"1844":null,"1845":null,"1846":null,"1847":null,"1848":null,"1849":null,"1850":null,"1851":null,"1852":null,"1853":null,"1854":null,"1855":null,"1856":null,"1857":null,"1858":null,"1859":null,"1860":null,"1861":null,"1862":null,"1863":null,"1864":null,"1865":null,"1866":null,"1867":null,"1868":null,"1869":null,"1870":null,"1871":null,"1872":null,"1873":null,"1874":null,"1875":null,"1876":null,"1877":null,"1878":null,"1879":null,"1880":null,"1881":null,"1882":null,"1883":null,"1884":null,"1885":null,"1886":null,"1887":null,"1888":null,"1889":null,"1890":null,"1891":null,"1892":null,"1893":null,"1894":null,"1895":null,"1896":null,"1897":null,"1898":null,"1899":null,"1900":null,"1901":null,"1902":null,"1903":null,"1904":null,"1905":null,"1906":null,"1907":null,"1908":null,"1909":null,"1910":null,"1911":null,"1912":null,"1913":null,"1914":null,"1915":null,"1916":null,"1917":null,"1918":null,"1919":null,"1920":null,"1921":null,"1922":null,"1923":null,"1924":null,"1925":null,"1926":null,"1927":null,"1928":null,"1929":null,"1930":null,"1931":null,"1932":null,"1933":null,"1934":null,"1935":null,"1936":null,"1937":null,"1938":null,"1939":null,"1940":null,"1941":null,"1942":null,"1943":null,"1944":null,"1945":null,"1946":null,"1947":null,"1948":null,"1949":null,"1950":null,"1951":null,"1952":null,"1953":null,"1954":null,"1955":null,"1956":null,"1957":null,"1958":null,"1959":null,"1960":null,"1961":null,"1962":null,"1963":null,"1964":null,"1965":null,"1966":null,"1967":null,"1968":null,"1969":null,"1970":null,"1971":null,"1972":null,"1973":null,"1974":null,"1975":null,"1976":null,"1977":null,"1978":null,"1979":null,"1980":null,"1981":null,"1982":null,"1983":null,"1984":null,"1985":null,"1986":null,"1987":null,"1988":null,"1989":null,"1990":null,"1991":null,"1992":null,"1993":null,"1994":null,"1995":null,"1996":null,"1997":null,"1998":null,"1999":null,"2000":null,"2001":null,"2002":null,"2003":85.71428571428571,"3001":52.38095238095239,"3002":28.57142857142857}}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF

Reproducible Demo

(see included code)

Other notes

  • having the values be Doubles seems important -- when I tried setting the values to 0, it didn't trigger the bug
  • need to have at least 3 keys, (1 or 2 didn't trigger it), and they don't need to be consecutive
  • adding a non-integer key didn't make a difference (e.g. "extra": 333.222)
  • The log the comes from native doesn't exhibit the problem, but the log from the js side does. So it's a "convert native value to js" issue
@sophiebits
Copy link
Contributor

@pull-bot
Copy link

@facebook-github-bot no-template

1 similar comment
@pull-bot
Copy link

@facebook-github-bot no-template

@facebook-github-bot
Copy link
Contributor

Hey, thanks for reporting this issue! It looks like your description is missing some necessary information, or the list of reproduction steps is not complete. Can you please add all the details specified in the Issue Template? This is necessary for people to be able to understand and reproduce the issue being reported. I am going to close this, but feel free to open a new issue with the additional information provided. Thanks! See "What to Expect from Maintainers" to learn more.

@facebook-github-bot facebook-github-bot added the Ran Commands One of our bots successfully processed a command. label Oct 10, 2017
@facebook-github-bot
Copy link
Contributor

Hey, thanks for reporting this issue! It looks like your description is missing some necessary information, or the list of reproduction steps is not complete. Can you please add all the details specified in the Issue Template? This is necessary for people to be able to understand and reproduce the issue being reported. I am going to close this, but feel free to open a new issue with the additional information provided. Thanks! See "What to Expect from Maintainers" to learn more.

@facebook-github-bot facebook-github-bot added Needs more information Ran Commands One of our bots successfully processed a command. labels Oct 10, 2017
@jaredly
Copy link
Contributor Author

jaredly commented Oct 10, 2017

Oh c'mon. One hour to fix an issue or you close?

@jaredly
Copy link
Contributor Author

jaredly commented Oct 10, 2017

yo @sophiebits could you reopen for me?

@sophiebits
Copy link
Contributor

Not sure what happened here. (I doubt this was a one-hour thing; rather maybe a buggy script that didn't close the first time? Not sure.)

@sophiebits sophiebits reopened this Oct 10, 2017
@sophiebits
Copy link
Contributor

cc @hramos for "what is this script and why did it close this issue that did use a template?"

@stale
Copy link

stale bot commented Dec 9, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Dec 9, 2017
@stale stale bot closed this as completed Dec 16, 2017
@hramos
Copy link
Contributor

hramos commented Dec 21, 2017

Not sure what happened back on October but looks like it incorrectly closed the issue. Reopening (though StaleBot will re-close after two months of inactivity, again).

@hramos hramos reopened this Dec 21, 2017
@stale stale bot removed the Stale There has been a lack of activity on this issue and it may be closed soon. label Dec 21, 2017
@stale
Copy link

stale bot commented Feb 19, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Feb 19, 2018
@stale stale bot closed this as completed Feb 26, 2018
@facebook facebook locked and limited conversation to collaborators May 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

5 participants