[Bug 689] New: HopObject.list() different behaviour for transient vs persisted object

View: New views
6 Messages — Rating Filter:   Alert me  

[Bug 689] New: HopObject.list() different behaviour for transient vs persisted object

by Bugzilla from bugzilla-daemon@helma.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

[Bug 689] HopObject.list() different behaviour for transient vs persisted object

by Bugzilla from bugzilla-daemon@helma.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://dev.helma.org/bugs/show_bug.cgi?id=689





--- Comment #1 from s o <simon.oberhammer@...>  2009-11-03 10:49:04 ---
Created an attachment (id=125)
 --> (http://dev.helma.org/bugs/attachment.cgi?id=125)
stack trace NPE list(x,y)

--
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

[Bug 689] HopObject.list() different behaviour for transient vs persisted object

by Bugzilla from bugzilla-daemon@helma.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://dev.helma.org/bugs/show_bug.cgi?id=689


s o <simon.oberhammer@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |1.7.0




--
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

[Bug 689] HopObject.list() different behaviour for transient vs persisted object

by Bugzilla from bugzilla-daemon@helma.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://dev.helma.org/bugs/show_bug.cgi?id=689


Hannes Wallnoefer <hannes@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |hannes@...
         Resolution|                            |FIXED




--- Comment #2 from Hannes Wallnoefer <hannes@...>  2009-11-04 12:02:16 ---
Fixed in svn.

--
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

[Bug 689] HopObject.list() different behaviour for transient vs persisted object

by Bugzilla from bugzilla-daemon@helma.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://dev.helma.org/bugs/show_bug.cgi?id=689


s o <simon.oberhammer@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #3 from s o <simon.oberhammer@...>  2009-11-04 17:27:09 ---
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
}

}}}

--
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

[Bug 689] HopObject.list() different behaviour for transient vs persisted object

by Bugzilla from bugzilla-daemon@helma.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://dev.helma.org/bugs/show_bug.cgi?id=689


Hannes Wallnoefer <hannes@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #4 from Hannes Wallnoefer <hannes@...>  2009-11-05 09:12:09 ---
Fixed that one too.

--
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