Bugzilla – Bug 689
HopObject.list() different behaviour for transient vs persisted object
Last modified: 2009-11-05 09:12:09
You need to log in before you can comment on or make changes to this bug.
if the object is transient a call to list() with the min and/or max argument will result in NPE. this works for persisted objects. {{{ var foo = new FooProto(); foo.list(); // works foo.list(0,10); // NPE fail }}} if persisted all is good: {{{ var foo = FooProto.get(0); foo.list(); foo.list(0, 10); }}}
Created an attachment (id=125) [details] stack trace NPE list(x,y)
Fixed in svn.
still broken with current svn head, easy to reproduce: {{{ Root.prototype.testlist_action = function() var hopObj = new HopObject(); hopObj.list(); // works hopObj.list(0,10); // NPE } }}}
Fixed that one too.