Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#11810 closed bug (duplicate)

Error looping with $.each if there is a JSON array contains 'length' key

Reported by: b3bakyt@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Description

Hello! I had a json array like {

"properties": {

"array": {

"id": "4", "fabric_category_id": "2", "name": "Len", "description": " ", "system_name": "LEN3", "status": "0", "length": "0", "maker": "art (Italy)"

}

}, "status": "success"

}

and faced a problem parsing this data with $.each(data, function(key, val) { }) function the problem was in the "length" key. It somehow stops loop if thereis a "length" in the json array

Change History (2)

comment:1 Changed 11 years ago by dmethvin

Resolution: duplicate
Status: newclosed

comment:2 Changed 11 years ago by dmethvin

Duplicate of #7260.

Note: See TracTickets for help on using tickets.