PKey.equals() returns wrong result
Brought to you by:
codingfreak,
moroff
Error in Java Code:
when comparing date fields, test of equality must call
date1.equals(date2). equals() works O.K. for string fields.
Example: wirkab is Date, rkSkz is char
return wirkab == pkey.getWirkab() && rkSkz ==
pkey.getRkSkz();
should be
return (wirkab == pkey.getWirkab() || wirkab.equals(
pkey.getWirkab()) ) && rkSkz == pkey.getRkSkz();
Logged In: YES
user_id=1205850
work around: patch generated code
Logged In: YES
user_id=555111
Fixed in Rel 1.4.4