Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to struts 6.1.2 #124

Closed
wants to merge 1 commit into from
Closed

Conversation

gregh3269
Copy link

From my testing of the UI this is all it needs to get to the latest version. Were there any failing tests?

@mbien
Copy link
Member

mbien commented Mar 23, 2023

Were there any failing tests?

yes. see CI. Or try starting roller and open the management UI

@gregh3269
Copy link
Author

gregh3269 commented Mar 23, 2023

Checking the page the id has extra underscores. I will check if this is intentional.

<input type="submit" value="Post to Weblog" id="entry____mainAction__publish" name="action:entryEdit!publish" class="btn btn-success">

@mbien
Copy link
Member

mbien commented Mar 23, 2023

i wouldn't recommend to skip so many major versions at once, this rarely works. The very next minor release already causes problems.
migration guide
https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.30

last time I investigated (#118) i wrote down that it is likely the double evaluation change, but I can't remember why I thought that would be the case.

@gregh3269
Copy link
Author

Your are probably right here. Looking into this more, I did not realise the dependency soup with the bootstrap plugin. Plugin v5.00 uses bootstrap v5.2.0 where roller is using v3.4.1.
Now I realise Dave email. I will close this PR.

@gregh3269 gregh3269 closed this Mar 23, 2023
@gregh3269
Copy link
Author

Looking more into this there does not seem much of a lifeboat wrt the plugin. The general consensus is it is not possible upgrade this version of bootstrap (no surprise) . Seems a lot of changes on every major release, not the best use of resources. I did some testing and its not too difficult modify 4.0.1 to work with for example 6.1.2. A lot easier than upgrading bootstrap.

See branch 4.0.2-struts-6.1.2.

How to go forward with this is another question, maybe importing the code into roller??

@mbien
Copy link
Member

mbien commented Apr 3, 2023

you are saying that struts 2.5.30+ is not compatible with the bootstrap (plugin) version roller uses at the moment? I assumed it might have something to do with the double evaluation fix which is mentioned on the struts release notes. I hoped there might be a chance to update struts without bootstrap for now.

@gregh3269
Copy link
Author

Yes. The plugin needs some updates. If you compare branches you can see what's needed. Relatively simple in comparison to redoing bootstrap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants