Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20635

Sub Items not updated when publishing article using ezasynchronouspublisher

    Details

      Description

      If you enable ezasynchronouspublisher and add an object, the number of Sub items won't be updated

      This issue has problably something to do with https://jira.ez.no/browse/EZP-20558.

        Issue Links

          Activity

          Pedro Resende (Inactive) created issue -
          Jérôme Vieilledent (Inactive) made changes -
          Field Original Value New Value
          Link This issue relates to EZP-20627 [ EZP-20627 ]
          Jérôme Vieilledent (Inactive) made changes -
          Link This issue relates to EZP-20558 [ EZP-20558 ]
          Vidar Langseid made changes -
          Status Open [ 1 ] Backlog [ 10000 ]
          Vidar Langseid made changes -
          Status Backlog [ 10000 ] InputQ [ 10001 ]
          Vidar Langseid made changes -
          Rank Ranked higher
          Damien Pobel (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Assignee Damien Pobel [ damien.pobel@ez.no ]
          Hide
          Damien Pobel (Inactive) added a comment -

          I'm not able to reproduce this issue. Most likely, it has been fixed with EZP-20558 or others recent cache related issues...
          Can you retest with a recent build ?

          Show
          Damien Pobel (Inactive) added a comment - I'm not able to reproduce this issue. Most likely, it has been fixed with EZP-20558 or others recent cache related issues... Can you retest with a recent build ?
          Hide
          Pedro Resende (Inactive) added a comment -

          [~damien.pobel@ez.no]: Just rested and it's still failing. I made the following steps

          1. Added in site.ini.append.php
           
          [PublishingSettings]
          AsynchronousPublishing=enabled
           
           
          2. Added in cronjob.ini.append.php
          [PublishingSettings]
          [CronjobPart-frequent]
          Scripts[]=indexcontent.php
           
          3. Added the ezasynchronouspublisher to /etc/ini.d folder 
           
          cd /etc/init.d
          sudo ln -s /path/to/ezpublish/bin/startup/debian/ezasynchronouspublisher ./ezasynchronouspublisher
          sudo chmod +x ./asynchronous-publishing
           
          4. Copied the rhel configutations
           
          sudo cp ./bin/startup/rhel/ezasynchronouspublisher.defaults /etc/ezasynchronouspublisher.conf
           
          5. Started the daemon
           
          sudo -i /etc/init.d/ezasynchronouspublisher start 
           
          6. Added an "article" in the backoffice 
          7. Ran the cronjob
           
          php runcronjobs.php frequent
           
          8. The number of Sub items remains unaltered

          Show
          Pedro Resende (Inactive) added a comment - [~damien.pobel@ez.no] : Just rested and it's still failing. I made the following steps 1. Added in site.ini.append.php   [PublishingSettings] AsynchronousPublishing=enabled     2. Added in cronjob.ini.append.php [PublishingSettings] [CronjobPart-frequent] Scripts[]=indexcontent.php   3. Added the ezasynchronouspublisher to /etc/ini.d folder   cd /etc/init.d sudo ln -s /path/to/ezpublish/bin/startup/debian/ezasynchronouspublisher ./ezasynchronouspublisher sudo chmod +x ./asynchronous-publishing   4. Copied the rhel configutations   sudo cp ./bin/startup/rhel/ezasynchronouspublisher.defaults /etc/ezasynchronouspublisher.conf   5. Started the daemon   sudo -i /etc/init.d/ezasynchronouspublisher start   6. Added an "article" in the backoffice 7. Ran the cronjob   php runcronjobs.php frequent   8. The number of Sub items remains unaltered
          Hide
          Damien Pobel (Inactive) added a comment -

          Pedro,

          1. what is the point of adding indexcontent.php cronjob script here ? This is completely unrelated and what you add in cronjob.ini.append.php in the step 2. is completely BROKEN
          2. you're installing the debian init.d script with the RHEL configuration, do you seriously think it is the normal setup and this will work ?

          Show
          Damien Pobel (Inactive) added a comment - Pedro, 1. what is the point of adding indexcontent.php cronjob script here ? This is completely unrelated and what you add in cronjob.ini.append.php in the step 2. is completely BROKEN 2. you're installing the debian init.d script with the RHEL configuration, do you seriously think it is the normal setup and this will work ?
          Damien Pobel (Inactive) logged work - 03/Apr/13 4:58 PM
          • Time Spent:
            1 hour, 30 minutes
             

            trying to reproduce

          Damien Pobel (Inactive) made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 1 hour, 30 minutes [ 5400 ]
          Worklog Id 31721 [ 31721 ]
          Hide
          Damien Pobel (Inactive) added a comment -

          And which build did you use ?

          Do you reproduce the issue when directly running php bin/php/ezasynchronouspublisher.php with the correct user instead of starting the daemon with /etc/init.d/ezasynchronouspublisher start ?

          Show
          Damien Pobel (Inactive) added a comment - And which build did you use ? Do you reproduce the issue when directly running php bin/php/ezasynchronouspublisher.php with the correct user instead of starting the daemon with /etc/init.d/ezasynchronouspublisher start ?
          Damien Pobel (Inactive) made changes -
          Status Development [ 3 ] Devlopment done [ 5 ]
          Damien Pobel (Inactive) made changes -
          Status Devlopment done [ 5 ] Documentation done [ 10011 ]
          Paulo Nunes (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Damien Pobel [ damien.pobel@ez.no ] Paulo Nunes [ paulo.nunes@ez.no ]
          Hide
          Paulo Nunes (Inactive) added a comment -

          QA Approved

          Show
          Paulo Nunes (Inactive) added a comment - QA Approved
          Paulo Nunes (Inactive) made changes -
          Status QA [ 10008 ] QA done [ 10007 ]
          André Rømcke made changes -
          Assignee Paulo Nunes [ paulo.nunes@ez.no ]
          Status QA done [ 10007 ] Closed [ 6 ]
          Fix Version/s 5.1 [ 11280 ]
          Resolution Fixed [ 1 ]
          André Rømcke made changes -
          Workflow eZ Engineering Scrumban Workflow [ 52778 ] EZ* Development Workflow [ 83643 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 83643 ] EZEE Development Workflow [ 122255 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Backlog Backlog
          5d 20h 7m 1 Vidar Langseid 02/Apr/13 2:28 PM
          Backlog Backlog InputQ InputQ
          8s 1 Vidar Langseid 02/Apr/13 2:29 PM
          InputQ InputQ Development Development
          23h 31m 1 damien.pobel@ez.no 03/Apr/13 2:00 PM
          Development Development Development Done Development Done
          9d 30m 1 damien.pobel@ez.no 12/Apr/13 2:31 PM
          Development Done Development Done Documentation Review done Documentation Review done
          8s 1 damien.pobel@ez.no 12/Apr/13 2:31 PM
          Documentation Review done Documentation Review done QA QA
          3d 51m 1 Paulo Nunes 15/Apr/13 3:23 PM
          QA QA QA Done QA Done
          1d 20h 27m 1 Paulo Nunes 17/Apr/13 11:50 AM
          QA Done QA Done Closed Closed
          20m 12s 1 André Rømcke 17/Apr/13 12:10 PM

            People

            • Assignee:
              Unassigned
              Reporter:
              Pedro Resende (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m