Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1322 closed defect (fixed)

dojo.data.SimpleStore.getField doesn't handle nulls

Reported by: jkuhnert Owned by: jkuhnert
Priority: high Milestone:
Component: General Version: 0.4
Keywords: Cc:
Blocked By: Blocking:

Description

The last part of the function checks if the value of an object property was null and does a dojo raise if it was...This should probably only throw a raise if the property doesn't exist on the object, not if the property itself has a null value..(ie use if (field in obj) to check existance)

Change History (4)

comment:1 Changed 13 years ago by jkuhnert

Owner: changed from jkuhnert to Tom Trenka

comment:2 Changed 13 years ago by jkuhnert

Owner: changed from Tom Trenka to jkuhnert
Status: newassigned

comment:3 Changed 13 years ago by jkuhnert

Resolution: fixed
Status: assignedclosed

Fixed by previous revision log. (Not sure why it wasn't auto-closed).

comment:4 Changed 13 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.