Details

      Description

      When trying to test ezSI eZPublish, there is no time displayed in the SSI block

      Steps to reproduce

       
      Setup - create the template
       
      1. Log in as admin in admin interface (add "/plain_site_admin" to the URL  as plain_site is the default)
      2. Click "Design" in top menu
      3. Click "Templates" in left menu
      4. Click "/node/view/full.tpl" link (4th link below "Most common templates" )
      5. Select "plain_site" in drop down
      6. Click "Set" button
      7. Click "New override" button
      8. Enter form data:
       Extension: No extension
       Filename : article
       Class : Article
       View (without children) : checked
       
      9. Click "OK" button
      10. Click "Edit" icon for the article template
      11. At the bottom if the input field, add the following code:
       
      <br/><br/>
      <b>SSI block below : </b><br>
      {si-block key="1" ttl="20s"}
      This is a si test: time :  {currentdate()|l10n("time")} <br/>
      {/si-block}
       <br/><br/>
       
      Setup - Create the test article
       
      1. Click "Content structure"
      2. Click "Create here" button
      3. Enter form data:
       Title : test article
       Intro : This is the intro
       
      4. Click "Send for publishing" button
      5. Logout
       
      Verify first execution of a template
       
      1. View plain site
      2. Read through the rest of the testcase. Timing in the execution of the test case is important as expiring of the cached content is part of the test. Be for instance prepared to run the cronjob mentioned below.
      3. Click on "test article" link
      4. Verify that you get the following on the page (the time will be be different. It should display current time ):
       SSI block below :
       This is a si test: time : 2:37:16 pm
      

        Activity

        Hide
        Pedro Resende added a comment -

        Please see test case tc-25

        Show
        Pedro Resende added a comment - Please see test case tc-25
        Hide
        ezrobot added a comment -

        This issue has been automatically closed due to the lack of activity over a long period of time. It is very likely that it is obsolete, but if you think it is still valid, do not hesitate to reopen it and mention why.

        Show
        ezrobot added a comment - This issue has been automatically closed due to the lack of activity over a long period of time. It is very likely that it is obsolete, but if you think it is still valid, do not hesitate to reopen it and mention why.

          People

          • Assignee:
            unknown
            Reporter:
            Pedro Resende
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: