Uploaded image for project: '[Read Only] - Hippo Essentials'
  1. [Read Only] - Hippo Essentials
  2. ESSENTIALS-661

Autoreload does not work on Essentials

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • CMS-10.0-alpha-1
    • 1.03.00, CMS-10.0-FCS
    • None
    • None
    • Firefox 37.0.1 x64/Chrome 42.02/IE11, Linux mint x64/Win7

    Description

      Reproduction path:

      1. 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
        
      2. Run the project, start the essentials at http://localhost:8080/essentials, add some components (news, list, etc).
      3. Verify that the autoreload is enabled at /hippo:configuration/hippo:modules/autoreload/hippo:moduleconfig
      4. Open a news item page in the http://localhost:8080/site/news/* (1)
      5. 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.
      6. 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cngo Canh Ngo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: