http://dev.helma.org/bugs/show_bug.cgi?id=689 Summary: HopObject.list() different behaviour for transient vs
persisted object
Product: Helma
Version: CVS trunk
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Database Layer
AssignedTo:
helma-dev@...
ReportedBy:
simon.oberhammer@...
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);
}}}
--
Configure bugmail:
http://dev.helma.org/bugs/userprefs.cgi?tab=email------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Helma-dev mailing list
Helma-dev@...
http://helma.org/mailman/listinfo/helma-dev