-
Notifications
You must be signed in to change notification settings - Fork 38.5k
Remove Tiles 2 support [SPR-13229] #17820
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
Comments
Kiril Nugmanov commented Created pull request |
Rob Winch commented Juergen Hoeller This change means that users can no longer use Thymeleaf / Tiles support since Thymeleaf only support Tiles 2. Given Thymleaf is so popular, is this something you view acceptable? Perhaps we could ensure that Thymleaf adds Tiles 3 support before we remove this (i.e. re-introduce it until then)? |
Juergen Hoeller commented Rob Winch, good point, I wasn't aware of Thymeleaf in that respect. However, Tiles 2.2 dates back to 2010, so it really is rather old from a mid-2016 perspective... Does Thymeleaf actually rely on Spring's Tiles support directly? Or is just about the inconsistency between Spring not shipping Tiles 2 support anymore whereas it still has to be used with Thymeleaf? Juergen |
Juergen Hoeller commented In any case, this might be reason enough to reintroduce our Tiles 2 support in its deprecated form... We will definitely remove it in Spring Framework 5.0 though, even if other frameworks still don't support Tiles 3 at that time. Otherwise we'll never get rid of it :-( |
Rob Winch commented
Juergen Hoeller I discovered the error when running the Spring Security's tests against the SNAPSHOT of Spring Framework. The stacktrace is below. At minimum, it appears that Thymeleaf relies on Spring's Tiles 2 support for configuration.
I think that makes sense. I went ahead and created a ticket for Thymeleaf to support Tiles 3 thymeleaf/thymeleaf-extras-tiles2#24 |
Juergen Hoeller commented I'm bringing our Tiles 2 support back to master, with an extra bold deprecation note in the javadoc of each class, moving this issue to the 5.0 timeframe for eventual pruning there then. Juergen |
Juergen Hoeller opened SPR-13229 and commented
After the deprecation in Spring 4.2 (#16828), let's eventually remove Tiles 2 support in Spring 4.3.
Tiles 3.0 went GA in May 2012. However, arguably it was only properly usable with Spring as of 3.0.3 in November 2013. That'll be 2.5 years ago by the time of our 4.3 GA.
Issue Links:
Referenced from: commits b75f5fa, 4027bda, 57b3ee3
The text was updated successfully, but these errors were encountered: