grails-cache icon indicating copy to clipboard operation
grails-cache copied to clipboard

Version 5.0.0 & 5.0.1 has gsp views compiled into the jar file

Open olliefreeman opened this issue 3 years ago • 1 comments

All the "demo" gsp views are still included in 5.0.0 and 5.0.1.

This includes the views.properties file along with all the gsp compiled class files eg gsp_cachenotFound_gsp

This is breaking any builds which use grails-views as the SiteMeshViewResolver is tested for view resolution before any others and any views which match those stored in the gsp/views.properties files are breaking the codebases.

Specifically the notFound view is a major issue as this is a common view.

#Precompiled views for cache
#Wed Mar 16 12:40:34 UTC 2022
/WEB-INF/grails-app/views/demo/blockCacheTTL.gsp=gsp_cache_demoblockCacheTTL_gsp
/WEB-INF/grails-app/views/demo/renderTag.gsp=gsp_cache_demorenderTag_gsp
/WEB-INF/grails-app/views/notFound.gsp=gsp_cachenotFound_gsp
/WEB-INF/grails-app/views/demo/blockCache.gsp=gsp_cache_demoblockCache_gsp
/WEB-INF/grails-app/views/demo/renderTagTTL.gsp=gsp_cache_demorenderTagTTL_gsp
/WEB-INF/grails-app/views/demo/_counterTemplate.gsp=gsp_cache_demo_counterTemplate_gsp
/WEB-INF/grails-app/views/layouts/main.gsp=gsp_cache_layoutsmain_gsp

olliefreeman avatar Apr 27 '22 14:04 olliefreeman

Also v5 is listed as "broken" with the message

THIS IS A BROKEN RELEASE, WHICH CONFLICTS WITH PREVIOUS RELEASE OF 5.0.0. PLEASE USE VERSION 5.0.1 WITH GRAILS 4 AND VERSION 6.0.0 WITH GRAILS 5

but there is no version 6 release

olliefreeman avatar Apr 27 '22 14:04 olliefreeman