[jira] [Commented] (WW-5060) Struts 2 Rest Plugin Conversion Issue

2020-02-13 Thread Ronak Jain (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17036050#comment-17036050
 ] 

Ronak Jain commented on WW-5060:


Please provide the work around

 

> Struts 2 Rest Plugin Conversion Issue
> -
>
> Key: WW-5060
> URL: https://issues.apache.org/jira/browse/WW-5060
> Project: Struts 2
>  Issue Type: Bug
>  Components: Other
>Affects Versions: 2.3.x
>Reporter: Ronak Jain
>Priority: Major
> Fix For: 2.6
>
>
>  I integrated strust2 convention plugin and rest plugin.
> When a request come to server where my field is long and I am sending a 
> string then default stacktrace occurs.
> I want to handle the exception from my side but before request come to any 
> interceptor, it is throwing exception.
>  
> My configuration :
>  name="jackson" class="org.apache.struts2.rest.handler.JacksonLibHandler"/>
>  
>  
> 
> 
>   />
>   class="com.elitecore.neoxemsippbx.coreneoxemsippbx.ep.util.EliteJsonResult" />
>  
>  
>   class="com.elitecore.neoxemsippbx.system.interceptor.TransactionInterceptor">
>   class="com.elitecore.neoxemsippbx.system.interceptor.AuditInterceptor" />
>   class="com.elitecore.neoxemsippbx.system.interceptor.CustomRestWorkflowInterceptor"/>
>  
>  
>   name="excludeMethods">deleteConfirm,cacheServerGroups,validateRuleset
>  
>  
>  
>  *
>  
>  
>  
> 
>  
>  ${actionChainUrl}
>   type="tiles">commons/general/UnhandledException
>  commons/general/Error
>  ${actionChainUrl}
>   type="tiles">ServerManagerWelcome
>  ${actionChainUrl}
>   type="tiles">${actionChainUrl}
>  _${actionChainUrl}
>  ${actionChainUrl}
>  ${actionChainUrl}
>  ${actionChainUrl}
>  
>  
>  
>  attachment;filename=${fileName}
>  $(contentType)
>  fileInputStream
>  1024
>  
> 
>  
>  false
>  
>  ${includeSearchProperties}
>  
>  
> 
>   exception="java.lang.Throwable">
>   exception="java.lang.RuntimeException">
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (WW-5060) Struts 2 Rest Plugin Conversion Issue

2020-02-12 Thread Ronak Jain (Jira)
Ronak Jain created WW-5060:
--

 Summary: Struts 2 Rest Plugin Conversion Issue
 Key: WW-5060
 URL: https://issues.apache.org/jira/browse/WW-5060
 Project: Struts 2
  Issue Type: Bug
  Components: Other
Affects Versions: 2.3.x
Reporter: Ronak Jain


 I integrated strust2 convention plugin and rest plugin.

When a request come to server where my field is long and I am sending a string 
then default stacktrace occurs.

I want to handle the exception from my side but before request come to any 
interceptor, it is throwing exception.

 

My configuration :


 

 




 
 
 
 
 
 
 
 
 
 deleteConfirm,cacheServerGroups,validateRuleset
 
 
 
 *
 
 
 


 
 ${actionChainUrl}
 commons/general/UnhandledException
 commons/general/Error
 ${actionChainUrl}
 ServerManagerWelcome
 ${actionChainUrl}
 ${actionChainUrl}
 _${actionChainUrl}
 ${actionChainUrl}
 ${actionChainUrl}
 ${actionChainUrl}
 
 
 
 attachment;filename=${fileName}
 $(contentType)
 fileInputStream
 1024
 


 
 false
 
 ${includeSearchProperties}
 
 


 
 
 
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)