Bugs item #510210, was opened at 2002-01-29 16:13
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=510210&group_id=31602
Category: ejbdoclet
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Steve Vaughan (snmvaughan92)
Assigned to: Vincent Harcq (vharcq)
Summary: Invalid property asignment for BMP's
Initial Comment:
The generated code for a BMP includes not only a call
to a setter method, but an attempt is made to assign
a value to a non-existent field. e.g.
super.setX(x);
this.x = x;
I think the following modification would fix this
problem without breaking other code.
$ diff -u
~/opt/xdoclet-1.1.1/src/xdoclet/ejb/entity-cmp11.j
xdoclet/ejb/entity-cmp11.j
---
/home/svaughan/opt/xdoclet-1.1.1/src/xdoclet/ejb/entity-cmp11.j
Mon Jan
28 22:23:02 2002
+++ xdoclet/ejb/entity-cmp11.j Tue Jan 29 10:53:21
2002
@@ -48,7 +48,9 @@
super.<XDtMethod:setterMethod/>(<XDtMethod:propertyName/>);
</XDtMethod:ifIsNotAbstract>
+ <XDtMethod:ifIsAbstract
method="<XDtMethod:setterMethod/>">
this.<XDtMethod:propertyName/> =
<XDtMethod:propertyName/>;
+ </XDtMethod:ifIsAbstract>
<XDtEjbCmp:ifNotUsingCmp2>
makeDirty();
----------------------------------------------------------------------
Comment By: Vincent Harcq (vharcq)
Date: 2002-02-03 17:46
Message:
Logged In: YES
user_id=125677
Thanks!
Fixed
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=510210&group_id=31602
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel