[jira] [Commented] (WW-4427) Converters no longer applied to values coming from the context

2015-02-15 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/WW-4427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14321898#comment-14321898
 ] 

ASF GitHub Bot commented on WW-4427:


GitHub user pbruski opened a pull request:

https://github.com/apache/struts/pull/36

WW-4427 - Converters are no longer applied to values coming from the 
context on error path

The previous fix was incomplete.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/pbruski/struts develop

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/struts/pull/36.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #36


commit e0d72397c24542a8b83a371a36590570ccd8fd74
Author: Przemek Bruski pbru...@atlassian.com
Date:   2015-02-15T09:40:13Z

WW-4427 - Converters are no longer applied to values coming from the 
context on error path




 Converters no longer applied to values coming from the context
 --

 Key: WW-4427
 URL: https://issues.apache.org/jira/browse/WW-4427
 Project: Struts 2
  Issue Type: Bug
Affects Versions: 2.3.16.1
Reporter: Przemek Bruski
Assignee: Lukasz Lenart
 Fix For: 2.3.22

 Attachments: struts_patch.diff


 As a side effect of 4c45a9433bae5fe3fcad5acd95e4f437e548d075 , conversion is 
 no longer applied to values coming directly from OGNL context.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (WW-4465) StatusCode parameter in the URL when using redirectAction

2015-02-15 Thread Harry Chan (JIRA)

 [ 
https://issues.apache.org/jira/browse/WW-4465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Harry Chan updated WW-4465:
---
Attachment: WW-4465.patch

WW-4465.patch is attached

 StatusCode parameter in the URL when using redirectAction
 -

 Key: WW-4465
 URL: https://issues.apache.org/jira/browse/WW-4465
 Project: Struts 2
  Issue Type: Bug
  Components: Core Actions
Affects Versions: 2.3.20
Reporter: Harry Chan
 Attachments: WW-4465.patch


 In the WW-3389, it solved the problem when using *redirect type result. 
 However, the same issue would be occurred when using the *redirectAction* 
 type result.
 e.g:
 {code:xml}
 result name=redirectAction type=redirectAction 
param name=namespace//param
param name=actionNameanotherAction/param
 /result
 {code}
 The solution should be updated the
 {code}org.apache.struts2.dispatcher.ServletActionRedirectResult.getProhibitedResultParams(){code}
 same as WW-3389



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (WW-4427) Converters no longer applied to values coming from the context

2015-02-15 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/WW-4427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14321924#comment-14321924
 ] 

Hudson commented on WW-4427:


SUCCESS: Integrated in Struts-JDK7-pull-request #25 (See 
[https://builds.apache.org/job/Struts-JDK7-pull-request/25/])
WW-4427 - Converters are no longer applied to values coming from the context on 
error path (pbruski: rev e0d72397c24542a8b83a371a36590570ccd8fd74)
* xwork-core/src/test/java/com/opensymphony/xwork2/ognl/OgnlValueStackTest.java
* xwork-core/src/main/java/com/opensymphony/xwork2/ognl/OgnlValueStack.java


 Converters no longer applied to values coming from the context
 --

 Key: WW-4427
 URL: https://issues.apache.org/jira/browse/WW-4427
 Project: Struts 2
  Issue Type: Bug
Affects Versions: 2.3.16.1
Reporter: Przemek Bruski
Assignee: Lukasz Lenart
 Fix For: 2.3.22

 Attachments: struts_patch.diff


 As a side effect of 4c45a9433bae5fe3fcad5acd95e4f437e548d075 , conversion is 
 no longer applied to values coming directly from OGNL context.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (WW-4381) upgrade to jasperreports 6.0

2015-02-15 Thread zhouyanming (JIRA)

[ 
https://issues.apache.org/jira/browse/WW-4381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14321826#comment-14321826
 ] 

zhouyanming commented on WW-4381:
-

proposal steps:
1.  update pom to net.sf.jasperreports:jasperreports:6.0.3
2.  replace JRLoader.loadObject(systemId) with JRLoader.loadObject(new 
File(systemId)) at line 325 in JasperReportsResult.java

 upgrade to jasperreports 6.0
 

 Key: WW-4381
 URL: https://issues.apache.org/jira/browse/WW-4381
 Project: Struts 2
  Issue Type: Improvement
  Components: Plugin - JasperReports
Reporter: zhouyanming
 Fix For: 2.5


 JasperReportsResult.java is not compatible with jasperreports 6.0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Reopened] (WW-4427) Converters no longer applied to values coming from the context

2015-02-15 Thread Lukasz Lenart (JIRA)

 [ 
https://issues.apache.org/jira/browse/WW-4427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart reopened WW-4427:
---

 Converters no longer applied to values coming from the context
 --

 Key: WW-4427
 URL: https://issues.apache.org/jira/browse/WW-4427
 Project: Struts 2
  Issue Type: Bug
Affects Versions: 2.3.16.1
Reporter: Przemek Bruski
Assignee: Lukasz Lenart
 Fix For: 2.3.22

 Attachments: struts_patch.diff


 As a side effect of 4c45a9433bae5fe3fcad5acd95e4f437e548d075 , conversion is 
 no longer applied to values coming directly from OGNL context.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (WW-4465) StatusCode parameter in the URL when using redirectAction

2015-02-15 Thread Harry Chan (JIRA)
Harry Chan created WW-4465:
--

 Summary: StatusCode parameter in the URL when using redirectAction
 Key: WW-4465
 URL: https://issues.apache.org/jira/browse/WW-4465
 Project: Struts 2
  Issue Type: Bug
  Components: Core Actions
Affects Versions: 2.3.20
Reporter: Harry Chan


In the WW-3389, it solved the problem when using *redirect type result. 
However, the same issue would be occurred when using the *redirectAction* type 
result.
e.g:
{code:xml}
result name=redirectAction type=redirectAction 
   param name=namespace//param
   param name=actionNameanotherAction/param
/result
{code}

The solution should be updated the
{code}org.apache.struts2.dispatcher.ServletActionRedirectResult.getProhibitedResultParams(){code}
same as WW-3389



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (WW-4464) Improve LocalizedTextUtil defend NPE

2015-02-15 Thread zhouyanming (JIRA)
zhouyanming created WW-4464:
---

 Summary: Improve LocalizedTextUtil defend NPE
 Key: WW-4464
 URL: https://issues.apache.org/jira/browse/WW-4464
 Project: Struts 2
  Issue Type: Improvement
Affects Versions: 2.3.20
Reporter: zhouyanming


https://github.com/apache/struts/pull/35
there is a typo in commit comment, depend should be defend



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (WW-4381) upgrade to jasperreports 6.0

2015-02-15 Thread zhouyanming (JIRA)

 [ 
https://issues.apache.org/jira/browse/WW-4381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

zhouyanming updated WW-4381:

Description: JasperReportsResult.java is not compatible with jasperreports 
6.0  (was: JasperReportsResult.java is not compatible with jasperreports 5.6.0.)
Summary: upgrade to jasperreports 6.0  (was: upgrade to jasperreports 
5.6.0)

 upgrade to jasperreports 6.0
 

 Key: WW-4381
 URL: https://issues.apache.org/jira/browse/WW-4381
 Project: Struts 2
  Issue Type: Improvement
  Components: Plugin - JasperReports
Reporter: zhouyanming
 Fix For: 2.5


 JasperReportsResult.java is not compatible with jasperreports 6.0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)