From a CVS copy of xdoclet. The error occurs in the
templates of
\xdoclet_cvs\xdoclet\modules\ejb\src\xdoclet\modules\ejb\entity\resources.
When the dataobject.xdt envokes the
do-entity-value.xdt template which has the problems.
The do-entity-value.xdt creates a value object accessor
method in a data object but does not check whether the
data object contains accessors for a specific item of
data when populating the value object. In one of my
classes, the value object has more data accessors than
the data object but the get<XDtEjbValueObj> function
doesn't check whether the data object has that data
accessor.
See attachment. Note how the value object is populated
with the following
HostConfigValue.setId( getId() );
HostConfigValue.setName( getName() );
HostConfigValue.setUserId( getUserId() );
HostConfigValue.setHostPatterns(
getHostPatterns() );
HostConfigValue.setRules( getRules() );
But the data object on has getId and getName fields.
Generated Data Object
Logged In: YES
user_id=91100
moved to JIRA XDT-85
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?id=10118