You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Dave Johnson <sn...@gmail.com> on 2024/10/12 20:58:16 UTC
Problems with Struts2 Bootstrap 5.0.4
I am seeing errors in several Roller 6.1.4 pages including weblog edit and related to Struts2 Bootstrap. These errors prevent correct rendering of the pages.
We recently upgraded the Struts2 Bootstrap dependency to 5.0.4, but apparently 4.0.1 was the last version that supported Struts 2.5.x. I downgraded to 4.0.1 and these errors disappeared.
Maybe I've got something wrong in my local env, but I think we may need a quick 6.1.5 release.
Dave
Re: Problems with Struts2 Bootstrap 5.0.4
Posted by Michael Bien <mb...@gmail.com>.
awesome - I thought that something like that might have happened :)
-mbien
On 13.10.24 16:12, Dave Johnson wrote:
> Sorry, I got confused by too many branches. I now see that Roller 6.1.4 has Struts 2 Bootstrap 4.0.0 which works fine.
>
> Dave
>
>
>> On Oct 13, 2024, at 4:09 AM, Michael Bien <mb...@gmail.com> wrote:
>>
>> On 13.10.24 09:59, Greg Huber wrote:
>>> Same here.
>> you see errors in roller 6.1.4?
>>
>>
>>> If you want to upgrade struts2-bootstrap, you will need to switch to v6 as 2.5 is eol.
>>>
>>> v4.0.3 works on struts 6. From what I can remember the 2.5 to 6 was an easy upgrade.
>> yep, however i would recommend an intermediate step before going to 6, since the very next point release does already break things.
>>
>> https://github.com/apache/roller/blob/faafe379e353dc6a44d350734e4d8113d666a3be/app/pom.xml#L61C35-L61C84
>>
>> I would try to stabilize on 2.5.30 first, before going further, since it is likely that higher jumps will cause more issues due to the fact of having to bump other linked dependencies at the same time.
>>
>> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=199539301#VersionNotes2.5.30-InternalChanges
>>
>>
>> best regards,
>>
>> michael
>>
>>
Re: Problems with Struts2 Bootstrap 5.0.4
Posted by Dave Johnson <sn...@gmail.com>.
Sorry, I got confused by too many branches. I now see that Roller 6.1.4 has Struts 2 Bootstrap 4.0.0 which works fine.
Dave
> On Oct 13, 2024, at 4:09 AM, Michael Bien <mb...@gmail.com> wrote:
>
> On 13.10.24 09:59, Greg Huber wrote:
>> Same here.
>
> you see errors in roller 6.1.4?
>
>
>>
>> If you want to upgrade struts2-bootstrap, you will need to switch to v6 as 2.5 is eol.
>>
>> v4.0.3 works on struts 6. From what I can remember the 2.5 to 6 was an easy upgrade.
>
> yep, however i would recommend an intermediate step before going to 6, since the very next point release does already break things.
>
> https://github.com/apache/roller/blob/faafe379e353dc6a44d350734e4d8113d666a3be/app/pom.xml#L61C35-L61C84
>
> I would try to stabilize on 2.5.30 first, before going further, since it is likely that higher jumps will cause more issues due to the fact of having to bump other linked dependencies at the same time.
>
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=199539301#VersionNotes2.5.30-InternalChanges
>
>
> best regards,
>
> michael
>
>
Re: Problems with Struts2 Bootstrap 5.0.4
Posted by Michael Bien <mb...@gmail.com>.
On 13.10.24 09:59, Greg Huber wrote:
> Same here.
you see errors in roller 6.1.4?
>
> If you want to upgrade struts2-bootstrap, you will need to switch to
> v6 as 2.5 is eol.
>
> v4.0.3 works on struts 6. From what I can remember the 2.5 to 6 was
> an easy upgrade.
yep, however i would recommend an intermediate step before going to 6,
since the very next point release does already break things.
https://github.com/apache/roller/blob/faafe379e353dc6a44d350734e4d8113d666a3be/app/pom.xml#L61C35-L61C84
I would try to stabilize on 2.5.30 first, before going further, since it
is likely that higher jumps will cause more issues due to the fact of
having to bump other linked dependencies at the same time.
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=199539301#VersionNotes2.5.30-InternalChanges
best regards,
michael
Re: Problems with Struts2 Bootstrap 5.0.4
Posted by Greg Huber <gr...@gmail.com>.
Same here.
If you want to upgrade struts2-bootstrap, you will need to switch to v6
as 2.5 is eol.
v4.0.3 works on struts 6. From what I can remember the 2.5 to 6 was an
easy upgrade. There are some token logic fixes needed however.
Think 5.0.4 is bootstrap 4, and roller is on 3.5 bootstrap.
On 13/10/2024 01:17, Michael Bien wrote:
> Hi Dave,
>
>
> On 12.10.24 22:58, Dave Johnson wrote:
>> I am seeing errors in several Roller 6.1.4 pages including weblog
>> edit and related to Struts2 Bootstrap. These errors prevent correct
>> rendering of the pages.
>>
>> We recently upgraded the Struts2 Bootstrap dependency to
> I don't see 5.x bootstrap in the roller release:
>
> find roller/WEB-INF/lib/ -iname "*boot*"
> roller/WEB-INF/lib/bootstrap-3.4.1.jar
> roller/WEB-INF/lib/struts2-bootstrap-plugin-4.0.0.jar
>
> same in the pom https://github.com/apache/roller/blob/master/app/pom.xml
>
>
>> 5.0.4, but apparently 4.0.1 was the last version that supported
>> Struts 2.5.x. I downgraded to 4.0.1 and these errors disappeared.
>
> yep I know, I have a few deps locked in place so that I don't update
> them by accident. example: rome, struts, and bootstrap.
>
> best regards,
>
> michael
>
>
>
>>
>> Maybe I've got something wrong in my local env, but I think we may
>> need a quick 6.1.5 release.
>>
>> Dave
>
>
Re: Problems with Struts2 Bootstrap 5.0.4
Posted by Michael Bien <mb...@gmail.com>.
Hi Dave,
On 12.10.24 22:58, Dave Johnson wrote:
> I am seeing errors in several Roller 6.1.4 pages including weblog edit and related to Struts2 Bootstrap. These errors prevent correct rendering of the pages.
>
> We recently upgraded the Struts2 Bootstrap dependency to
I don't see 5.x bootstrap in the roller release:
find roller/WEB-INF/lib/ -iname "*boot*"
roller/WEB-INF/lib/bootstrap-3.4.1.jar
roller/WEB-INF/lib/struts2-bootstrap-plugin-4.0.0.jar
same in the pom https://github.com/apache/roller/blob/master/app/pom.xml
> 5.0.4, but apparently 4.0.1 was the last version that supported Struts 2.5.x. I downgraded to 4.0.1 and these errors disappeared.
yep I know, I have a few deps locked in place so that I don't update
them by accident. example: rome, struts, and bootstrap.
best regards,
michael
>
> Maybe I've got something wrong in my local env, but I think we may need a quick 6.1.5 release.
>
> Dave
Re: Problems with Struts2 Bootstrap 5.0.4
Posted by Dave Johnson <sn...@gmail.com>.
and sorry again about the double emails. I recently switched from using the Gmail web interface to using Apple Mail and I've not got the hang of it yet!
> On Oct 12, 2024, at 4:58 PM, Dave Johnson <sn...@gmail.com> wrote:
>
> I am seeing errors in several Roller 6.1.4 pages including weblog edit and related to Struts2 Bootstrap. These errors prevent correct rendering of the pages.
>
> We recently upgraded the Struts2 Bootstrap dependency to 5.0.4, but apparently 4.0.1 was the last version that supported Struts 2.5.x. I downgraded to 4.0.1 and these errors disappeared.
>
> Maybe I've got something wrong in my local env, but I think we may need a quick 6.1.5 release.
>
> Dave