Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1368

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1368
    Summary: struts_form.xdt attempts to set Boolean = false
       Type: Bug

     Status: Open
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             Apache Module
   Versions:
             1.2.3

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Nathan Egge

    Created: Thu, 28 Apr 2005 1:31 AM
    Updated: Thu, 28 Apr 2005 1:31 AM
Environment: Gentoo Linux x86/2005.0/2.4 
[blackdown-jdk-1.4.2] "Blackdown JDK 1.4.2" 

Description:
The file 
xdoclet/modules/apache/src/xdoclet/modules/apache/struts/resources/struts_form.xdt
 contains the following logic in the reset method:

        <XDtType:ifIsOfType value="return-type" 
type="java.lang.Boolean,boolean" extent="concrete-type">
        this.<XDtMethod:propertyName/> = false;
        </XDtType:ifIsOfType>

When the return-type is java.lang.Boolean then, this template incorrectly tries 
to set a Boolean = false.  This should be replaced with the following logic:

        <XDtType:ifIsOfType value="return-type" type="boolean" 
extent="concrete-type">
        this.<XDtMethod:propertyName/> = false;
        </XDtType:ifIsOfType>
        <XDtType:ifIsOfType value="return-type" type="java.lang.Boolean" 
extent="concrete-type">
        this.<XDtMethod:propertyName/> = Boolean.FALSE;
        </XDtType:ifIsOfType>

I will create a patch and attach it.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to