Details

      Description

      The cache files created by ezjcscore is not cluster aware
      (using ezdb cluster)
      One node1 I have a file named:
      var/ezwebin_site/cache/public/javascript/95d4866677768c6c341e62a19fe37093.js

      However, this file is not located on node2.
      And anyway, it should be placed in db, not on disk?

        Activity

        Hide
        Vidar Langseid added a comment -

        Test case tc-71:
        Install ezwebin without democontent:

        Update view cache on server 2
           1. Open ezwebin in browser on server 2
           2. Log in as admin in ezwebin
           3. Create a new folder "Company"
           4. Click "Company" in top menu
           5. Create a new folder "News"
           6. Click "News" in left menu
           7. Remember the url you are currently at (you'll need to go back to this page later)
         
        Create the article on server 1
           1. Log in as admin in ezwebin on server 1
           2. Click "Company" in top menu
           3. Click "News" in left menu
           4. Create new article:
           5. Title : Test article
              Summary : This is a summary
           6. Click "Send for publishing" button
           7. Verify that the new article is appearing at the top of the article list
           8. Click on "Test article" link
           9. Remember the url you are currently at (you'll need to go back to this page later)
         
        Verify that the article appears on server 2
           1. Go the same url you where at on step #4 below "Update view cache on server 2"
           2. Verify that the new article is appearing at the top of the article list
           3. Click on the "Test article" link
        

        At step #3 above, you'll have the error (screenshot submitted earlier)

        The rest of the testcase (for the record)

           4. Verify that you see the content of the article:
              Test article
              This is a summary
           5. Remember the url you are currently at (you'll need to go back to this page later)
         
        Alter the article on server 1
           1. Go the same url you where at on step #9 below "Create the article on server 1"
           2. Edit this article, change the title and summary:
              Title : Test article v2
              Summary : This is our summary v2
           3. Click "Send for publishing" button
           4. Verify that the content of the article is updated accordingly
           5. Click on "News" in left menu
           6. Verify that title and summary of the article as been updated according on this page as well
         
        Verify that the altered article is viewed correctly on server 2
           1. Go the same url you where at on step #5 below "Verify that the article appears on server 2"
           2. Verify that the content of the article is updated accordingly:
              Test article v2
              This is our summary v2
        

        Show
        Vidar Langseid added a comment - Test case tc-71: Install ezwebin without democontent: Update view cache on server 2 1. Open ezwebin in browser on server 2 2. Log in as admin in ezwebin 3. Create a new folder "Company" 4. Click "Company" in top menu 5. Create a new folder "News" 6. Click "News" in left menu 7. Remember the url you are currently at (you'll need to go back to this page later)   Create the article on server 1 1. Log in as admin in ezwebin on server 1 2. Click "Company" in top menu 3. Click "News" in left menu 4. Create new article: 5. Title : Test article Summary : This is a summary 6. Click "Send for publishing" button 7. Verify that the new article is appearing at the top of the article list 8. Click on "Test article" link 9. Remember the url you are currently at (you'll need to go back to this page later)   Verify that the article appears on server 2 1. Go the same url you where at on step #4 below "Update view cache on server 2" 2. Verify that the new article is appearing at the top of the article list 3. Click on the "Test article" link At step #3 above, you'll have the error (screenshot submitted earlier) The rest of the testcase (for the record) 4. Verify that you see the content of the article: Test article This is a summary 5. Remember the url you are currently at (you'll need to go back to this page later)   Alter the article on server 1 1. Go the same url you where at on step #9 below "Create the article on server 1" 2. Edit this article, change the title and summary: Title : Test article v2 Summary : This is our summary v2 3. Click "Send for publishing" button 4. Verify that the content of the article is updated accordingly 5. Click on "News" in left menu 6. Verify that title and summary of the article as been updated according on this page as well   Verify that the altered article is viewed correctly on server 2 1. Go the same url you where at on step #5 below "Verify that the article appears on server 2" 2. Verify that the content of the article is updated accordingly: Test article v2 This is our summary v2
        Hide
        Jérôme Renard added a comment -

        eZJSCore does not seem to use the cluster API to generate cache files.

        At least this is what I found in eZJSPacker.

        Show
        Jérôme Renard added a comment - eZJSCore does not seem to use the cluster API to generate cache files. At least this is what I found in eZJSPacker.
        Hide
        Łukasz Serwatka added a comment - - edited

        Fixed in ezjscore:

        trunk rev. 156

        @DOC:

        Following re-write rule is required:

        RewriteRule ^/var/([^/]+/)?cache/public/.* /index_cluster.php  [L]
        

        Show
        Łukasz Serwatka added a comment - - edited Fixed in ezjscore: trunk rev. 156 @DOC: Following re-write rule is required: RewriteRule ^/var/([^/]+/)?cache/public/.* /index_cluster.php [L]
        Hide
        Georg Franz added a comment -

        Hi,

        we are using ezjscore at an cluster environment (ez 4.2 installation). Is there any script available which can regenerate the css files? (we don't want to delete the css files and the tpl files, just regenerate the existing ones.)

        Best wishes,
        Georg.

        Show
        Georg Franz added a comment - Hi, we are using ezjscore at an cluster environment (ez 4.2 installation). Is there any script available which can regenerate the css files? (we don't want to delete the css files and the tpl files, just regenerate the existing ones.) Best wishes, Georg.
        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:
            Łukasz Serwatka
            Reporter:
            Vidar Langseid
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: