Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
CMS-10.0-alpha-1
-
None
-
None
-
Firefox 37.0.1 x64/Chrome 42.02/IE11, Linux mint x64/Win7
Description
Reproduction path:
- Generate a project using archetype 2.01.00-alpha-1:
mvn archetype:generate -DarchetypeGroupId=org.onehippo.cms7 -DarchetypeArtifactId=hippo-project-archetype -DarchetypeVersion=2.01.00-alpha-1 -DarchetypeRepository=http://maven.onehippo.com/maven2
- Run the project, start the essentials at http://localhost:8080/essentials, add some components (news, list, etc).
- Verify that the autoreload is enabled at /hippo:configuration/hippo:modules/autoreload/hippo:moduleconfig
- Open a news item page in the http://localhost:8080/site/news/* (1)
- Open project, add images folder to bootstrap/webfiles/src/main/resources/site/images, copy some images to this folder. In the console, there are some logs informing images files are synced into /webfiles repo.
- Edit newspage-main.ftl, add a link to the new image file, e.g.
<p>Insert an image from web files bundle</p> <@hst.webfile var="imglink" path="/images/Untitled.png"/> <img src="${imglink}">
Expected result: the inserted image to the ftl template is displayed on the browser (1) without refreshing.
Actual result: the inserted image and text updated to the ftl template is not updated. It's only updated only after refreshing manually.