Issue Details (XML | Word | Printable)

Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Sanjeeb Sahoo
Reporter: wfay
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

Bad error message for failure in CmpFieldsAccessorExposition test

Created: 30/Oct/06 08:33 AM   Updated: 06/Mar/12 09:56 PM
Component/s: verifier
Affects Version/s: 9.1pe
Fix Version/s: not determined

Time Tracking:
Not Specified


Operating System: All
Platform: All

Issuezilla Id: 1,398
Participants: gfbugbridge, Sanjeeb Sahoo, Tom Mueller and wfay

 Description  « Hide

Failure reported by verifier:
Test Name : tests.ejb.entity.cmp2.CmpFieldsAccessorExposition
Test Assertion : Set accessor method for primary key fields should not be
exposed in the remote interface.
Test Description : For [ C:\dev\glassfish\glassfish-v2-b22\domains\domain1
\applications\j2ee-modules\ejb-1#PD ]
Error: Primary key field set accessor method [ id ] is exposed through the
remote interface [ ejb.entity.pd.PDLocal ].

The error is correct, I did have a few setXXX methods including setId in my
interface, but it was actually my LOCAL interface (as correctly identified
PDLocal) and not the remote interface PDRemote.

The problem is in and in the test itself. The test does
not really look to see if this is a local or remote interface (extends
EJBLocalObject vs EJBObject) but instead always reports "through the remote

Ideally this test would determine if it was in fact a local or remote interface
and remote properly. A relatively minor issue but it had me scratching my head
for a while last week!
Error: Primary key field set accessor method [ {0} ] is exposed through the
remote interface [ {1} ].
Primary key field set accessor method [ {0} ] is not exposed through the remote
interface [ {1} ].

gfbugbridge added a comment - 17/Jan/07 07:01 PM


Sanjeeb Sahoo added a comment - 19/Feb/07 10:50 PM

Won't fix in V2 because CMP is not that important in Java EE stack any more.

– Sahoo

kenaiadmin made changes - 25/Nov/10 11:49 PM
Field Original Value New Value
issue.field.bugzillaimportkey 1398 33002
Tom Mueller added a comment - 06/Mar/12 09:56 PM

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

Tom Mueller made changes - 06/Mar/12 09:56 PM
Fix Version/s not determined [ 11149 ]
Fix Version/s 9.1pe [ 10974 ]