You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Antonio Petrelli <an...@gmail.com> on 2008/04/10 10:23:36 UTC

[S1] Heads up: Incompatible change in Struts 1.3.6 (WAS: Re: 2.1 build - Possible problem)

Hi all,
It seems that Al Sutton found an incompatible change in Struts 1.3. The
following issue added an incompatible change to Struts 1.3:
https://issues.apache.org/struts/browse/STR-2864

This leads to a compilation error for S2/S1 plugin:
https://issues.apache.org/struts/browse/WW-2586

In the "ModuleConfig" interface has been introduced the "findActionConfigId"
method. Extending classes, like:
http://svn.apache.org/repos/asf/struts/struts2/trunk/plugins/struts1/src/main/java/org/apache/struts2/s1/WrapperModuleConfig.java
cannot be built over a generic Struts 1.3.x version.

Antonio

Re: [S1] Heads up: Incompatible change in Struts 1.3.6 (WAS: Re: 2.1 build - Possible problem)

Posted by Antonio Petrelli <an...@gmail.com>.
2008/4/13, Niall Pemberton <ni...@gmail.com>:
> On Thu, Apr 10, 2008 at 9:23 AM, Antonio Petrelli
>  <an...@gmail.com> wrote:
>  > Hi all,
>  >  It seems that Al Sutton found an incompatible change in Struts 1.3. The
>  >  following issue added an incompatible change to Struts 1.3:
>  >  https://issues.apache.org/struts/browse/STR-2864
>  >
>  >  This leads to a compilation error for S2/S1 plugin:
>  >  https://issues.apache.org/struts/browse/WW-2586
>  >
>  >  In the "ModuleConfig" interface has been introduced the "findActionConfigId"
>  >  method. Extending classes, like:
>  >  http://svn.apache.org/repos/asf/struts/struts2/trunk/plugins/struts1/src/main/java/org/apache/struts2/s1/WrapperModuleConfig.java
>  >  cannot be built over a generic Struts 1.3.x version.
>
>
> Why not, just need to add that method to the WrapperModuleConfig - it
>  should only be called if a Struts 1.3.6 or later is used.

Well, it is exactly the opposite: only Struts 1.3.6 or later calls that method.
Anyway, implementing it does not harm anything, you are right Niall.
Well, never mind :-)

Thanks
Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: [S1] Heads up: Incompatible change in Struts 1.3.6 (WAS: Re: 2.1 build - Possible problem)

Posted by Niall Pemberton <ni...@gmail.com>.
On Thu, Apr 10, 2008 at 9:23 AM, Antonio Petrelli
<an...@gmail.com> wrote:
> Hi all,
>  It seems that Al Sutton found an incompatible change in Struts 1.3. The
>  following issue added an incompatible change to Struts 1.3:
>  https://issues.apache.org/struts/browse/STR-2864
>
>  This leads to a compilation error for S2/S1 plugin:
>  https://issues.apache.org/struts/browse/WW-2586
>
>  In the "ModuleConfig" interface has been introduced the "findActionConfigId"
>  method. Extending classes, like:
>  http://svn.apache.org/repos/asf/struts/struts2/trunk/plugins/struts1/src/main/java/org/apache/struts2/s1/WrapperModuleConfig.java
>  cannot be built over a generic Struts 1.3.x version.

Why not, just need to add that method to the WrapperModuleConfig - it
should only be called if a Struts 1.3.6 or later is used.

Niall

>  Antonio
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org