Needs review
Project:
Import / Export API
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jun 2007 at 09:30 UTC
Updated:
13 Jun 2007 at 09:30 UTC
When the key field is string in the parent and a field inside array type child tries to reference it, the match does not happen properly.
All tuples of the child type are listed instead of the just the children matching the parent's reference key. This also happens only when the fields are strings containing digits and no alphabets. I checked the code for the db_get and the way reference fields are compared seems to be the problem. Attached patch correct the problem for me.
http://in2.php.net/manual/en/language.operators.comparison.php#66245
| Comment | File | Size | Author |
|---|---|---|---|
| 01_handle_string_keys.patch | 1.38 KB | Sunil Mohan |