Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
2.26.00
-
None
-
None
Description
As provided by HSTTWO-1611, if 'hst-config-refresh-delay' init parameter is greater than zero for HstSiteConfigServlet configuration in web.xml, the spring component manager is reloaded on the configuration file change.
I tested this feature for some reason with testsuite like the following steps:
- Check out, build and run the testsuite-TRUNK by `mvn -P cargo.run`.
- Visit the site homepage.
- Add a property in /site/WEB-INF/hst-config.properties (e.g., a=1) to trigger configuration file change.
- Wait for 3 seconds at least; you will notice two log lines about the reloading in the console.
- Reload the site homepage. Then you will notice all the static resources such as images, css and javascript are missing.
I've just briefly looked into the HstFilter code, and HstFilter seems to fail to check the prefix/suffix exclusion after the reloading.
By the way, I noticed that it is still working fine with testsuite-1.02.xx branch.
It looks like caused by some hst config loading changes in the trunk...