Re: Struts 6.4.0: is there a Tiles breaking change?

2024-04-22 Thread Matias Rodriguez
thanks; in advance, the workaround exposed here
 fixes the issue:

 
 
org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG

/WEB-INF/tiles.xml



El lun, 22 abr 2024 a la(s) 10:31 a.m., Lukasz Lenart (
lukaszlen...@apache.org) escribió:

> pon., 22 kwi 2024 o 15:16 Matias Rodriguez
>  napisał(a):
> >
> > hi! I'm getting an exception when moving from version *6.3.0.2*; should
> we
> > add some annotations or something? thanks!
>
> > Struts has detected an unhandled exception:
> > *Messages*:
> > - Cannot find definition named 'indexServidor'
>
> It's probably related to this issue
> https://issues.apache.org/jira/browse/WW-5419
>
> You can find a fix here and if you can please test it :)
> https://github.com/apache/struts/pull/920
>
>
> Cheers
> Lukasz
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: Struts 6.4.0: is there a Tiles breaking change?

2024-04-22 Thread Lukasz Lenart
pon., 22 kwi 2024 o 15:16 Matias Rodriguez
 napisał(a):
>
> hi! I'm getting an exception when moving from version *6.3.0.2*; should we
> add some annotations or something? thanks!

> Struts has detected an unhandled exception:
> *Messages*:
> - Cannot find definition named 'indexServidor'

It's probably related to this issue
https://issues.apache.org/jira/browse/WW-5419

You can find a fix here and if you can please test it :)
https://github.com/apache/struts/pull/920


Cheers
Lukasz

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Struts 6.4.0: is there a Tiles breaking change?

2024-04-22 Thread Matias Rodriguez
hi! I'm getting an exception when moving from version *6.3.0.2*; should we
add some annotations or something? thanks!

*struts.xml extract:*






indexServidor



*exception:*
Struts Problem Report

Struts has detected an unhandled exception:
*Messages*:
- Cannot find definition named 'indexServidor'
*File*: org/apache/tiles/core/impl/mgmt/CachingTilesContainer.java
*Line number*: 108
--
Stacktraces
*org.apache.tiles.core.definition.NoSuchDefinitionException: Cannot find
definition named 'indexServidor'*


org.apache.tiles.core.impl.mgmt.CachingTilesContainer.render(CachingTilesContainer.java:108)
org.apache.struts2.views.tiles.TilesResult.doExecute(TilesResult.java:140)

org.apache.struts2.result.StrutsResultSupport.execute(StrutsResultSupport.java:206)

com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:377)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:284)

com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:179)

com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)

org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:49)

com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.doIntercept(ConversionErrorInterceptor.java:143)

com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

org.apache.struts2.interceptor.parameter.ParametersInterceptor.doIntercept(ParametersInterceptor.java:204)

com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

org.apache.struts2.interceptor.parameter.ParametersInterceptor.doIntercept(ParametersInterceptor.java:204)

com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:202)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

org.apache.struts2.interceptor.ActionFileUploadInterceptor.intercept(ActionFileUploadInterceptor.java:142)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:200)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:101)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:161)

com.opensymphony.xwork2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:299)

com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)

com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:175)

com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)