Issue Details (XML | Word | Printable)

Key: GLASSFISH-1398
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Sanjeeb Sahoo
Reporter: wfay
Votes: 0
Watchers: 0
Operations

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

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

Environment:

Operating System: All
Platform: All


Issuezilla Id: 1,398
Tags:
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 LocalStrings.properties 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
interface".

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!

com.sun.enterprise.tools.verifier.tests.ejb.entity.cmp2.CmpFieldsAccessorExposit
ion.failed=\
Error: Primary key field set accessor method [ {0} ] is exposed through the
remote interface [ {1} ].
com.sun.enterprise.tools.verifier.tests.ejb.entity.cmp2.CmpFieldsAccessorExposit
ion.passed=\
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

<BT6514430>


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


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.