Tuesday, September 16, 2008

Problem Solved

So I finally figured out why I wasn't able to pull out information from the returned objects in FUEL. In the FUEL source code I had a typo:
if (node.type == this._type || this._type == null) {
if (node.type == node.RESULT_TYPE_FOLDER)
item = new BookmarkFolder(node.itemId, this._folder);
else
item = new Bookmark(node.itemId, this._folder, node.type);
}

I had node.itemId spelled as node.itemID, so pretty much the uppercase D broke everything :D
On to finish the tests.

0 comments: