derrell / App-Inventor-Gallery

App Inventor Gallery
20 stars 17 forks source link

getComments() accepts number or string key #44

Closed derrell closed 13 years ago

derrell commented 13 years ago

Passing either 105 or "105" to the getComments() function provides the correct results. It probably shouldn't. The actual appId (key) is 105.

This should be looked at as a general issue rearing its head in getComments(), but likely of much wider scope.

derrell commented 13 years ago

This was, in fact, a general issue. Fixed in the sim.Dbif in qooxdoo-contrib, with r21367. Also added a test case for it in CommentTest.