You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Racon (JIRA)" <ji...@apache.org> on 2007/06/22 21:40:27 UTC

[jira] Created: (WW-2011) Struts result are not parsed by default

Struts result are not parsed by default
---------------------------------------

                 Key: WW-2011
                 URL: https://issues.apache.org/struts/browse/WW-2011
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.0.9
         Environment: Java 6, Tomcat 5.0, TilesResult
            Reporter: Lukasz Racon


Javadoc says that StrutsResultSupport should set parse to true by default. 
While the StrutsResultSupport constructor that takes location string sets parse to false:

--- src/main/java/org/apache/struts2/dispatcher/StrutsResultSupport.java        (revision 549497)
+++ src/main/java/org/apache/struts2/dispatcher/StrutsResultSupport.java        (working copy)
@@ -117,7 +117,7 @@
     }

     public StrutsResultSupport(String location) {
-        this(location, false, false);
+        this(location, true, false);
     }

     public StrutsResultSupport(String location, boolean parse, boolean encode) {...


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WW-2011) Struts result are not parsed by default

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes resolved WW-2011.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0
                   2.0.9

Thanks for the heads up and patch!

> Struts result are not parsed by default
> ---------------------------------------
>
>                 Key: WW-2011
>                 URL: https://issues.apache.org/struts/browse/WW-2011
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.9
>         Environment: Java 6, Tomcat 5.0, TilesResult
>            Reporter: Lukasz Racon
>            Assignee: James Holmes
>             Fix For: 2.0.9, 2.1.0
>
>
> Javadoc says that StrutsResultSupport should set parse to true by default. 
> While the StrutsResultSupport constructor that takes location string sets parse to false:
> --- src/main/java/org/apache/struts2/dispatcher/StrutsResultSupport.java        (revision 549497)
> +++ src/main/java/org/apache/struts2/dispatcher/StrutsResultSupport.java        (working copy)
> @@ -117,7 +117,7 @@
>      }
>      public StrutsResultSupport(String location) {
> -        this(location, false, false);
> +        this(location, true, false);
>      }
>      public StrutsResultSupport(String location, boolean parse, boolean encode) {...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (WW-2011) Struts result are not parsed by default

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes reassigned WW-2011:
--------------------------------

    Assignee: James Holmes

> Struts result are not parsed by default
> ---------------------------------------
>
>                 Key: WW-2011
>                 URL: https://issues.apache.org/struts/browse/WW-2011
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.9
>         Environment: Java 6, Tomcat 5.0, TilesResult
>            Reporter: Lukasz Racon
>            Assignee: James Holmes
>
> Javadoc says that StrutsResultSupport should set parse to true by default. 
> While the StrutsResultSupport constructor that takes location string sets parse to false:
> --- src/main/java/org/apache/struts2/dispatcher/StrutsResultSupport.java        (revision 549497)
> +++ src/main/java/org/apache/struts2/dispatcher/StrutsResultSupport.java        (working copy)
> @@ -117,7 +117,7 @@
>      }
>      public StrutsResultSupport(String location) {
> -        this(location, false, false);
> +        this(location, true, false);
>      }
>      public StrutsResultSupport(String location, boolean parse, boolean encode) {...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.