[Helma-user] Helma + Swarm
Rainer Rynesch
Rainer.Rynesch at MANOVA.at
Mon Oct 9 18:43:42 CEST 2006
Dear list,
We installed helma swarm on our systems and found a possible bug.
When 2 mapped Objects of the same prototype with date values are
compared they are not the same anymore. The only difference we found is
the date value, all other properties of the object are the same.
This error only occurs when swarms is activated.
Example (with swarm enabled):
obj0.mdate == obj1.mdate; //evaluates false
obj0.mdate.toString()==obj1.mdate.toString(); //evaluates true
obj0.mdate.getTime()==obj1.mdate.getTime();//evaluates true
Example (with swarm disabled)
obj0.mdate == obj1.mdate; //evaluates true
obj0.mdate.toString()==obj1.mdate.toString(); //evaluates true
obj0.mdate.getTime()==obj1.mdate.getTime();//evaluates true
thanks
rrrrrrrrrrrrr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://helma.org/pipermail/helma-user/attachments/20061009/73e2b357/attachment.html
More information about the Helma-user
mailing list