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

Wait until date workflow not working on eZP 5.0.0 pre-alpha1

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • Known Issues Legacy Stack, 5.0.0-dev
    • Legacy > Workflows
    • None
    • Operating System: RHEL 6.2 EE
      PHP Version: 5.3.3
      Database and version: MySQL 5.1.61
      Browser (and version): Any

    Description

      Description

      If you try to configure a new workflow, wait until date, to publish an article in a couple of minutes this workflow will simply be ignored and the object is published right away

      Steps to reproduce
      Add a new Workflow
      
      1. Login into admin interface, using admin account
      2. Click on "Setup", from the top menu
      3. Click on "Worflows", from the left menu
      4. Click on "New workflow group" button
      5. Fill the field
      	Name: WFG1
      
      6. Click on "OK" button
      7. Click on "WFG1"
      8. Click on "New worflow" button
      9. Fill the field
      	Name: WF1
      
      10. Choose "Event / Wait until date" from the drop down list
      11. Click on "Add event" button
      12. Choose "Folder" from the class drop down list
      13. Verify the "Attribute" drop down list has been updated
      14. Choose "User" from the class drop down list
      15. Verify the "Attribute" drop down list has been updated
      16. Choose "Article" from the class drop down list
      17. Verify the "Attribute" drop down list has been updated
      18. Choose "Publish date" from the "Attribute" drop down list
      19. Click on "Select attribute" button
      20. Fill in the fields
      	Description / comments: New Event
      
      21. Check the "Modify the objects' publishing dates" checkbox
      22. Click on "OK" button
      
      Add a new Trigger
      
      1. Click on "Setup" from 
      2. Click on "Triggers" from the left menu
      3. On "content publish before", on the workflow drop down, choose "WF1"
      4. Click on "Apply changes" button
      
      Add a new editor
      
      1. Click on "User accounts" from the top menu
      2. Click on "Editors", from the left menu
      3. Click no "Create new" button
      4. Choose "User" from the drop down list
      5. Fill in the fields
      	First name (required) : One
      	Last name (required) : One
      	Username: One
      	Password: One
      	Confirm password: One
      	Email: one@ez.no
      
      6. Click on "Send for publishing" button
      7. Logout
      
      Add a new folder
      
      1. Login into admin2 interface, using One account
      2. Click on "Content structure" from the top menu
      3. Click on "Create new" button
      4. Choose "Folder" from the drop down list
      5. Fill in the fields
      	Name (required): News
      
      6. Click on "Send for publishing" button
      
      
      Add a new article
      
      1. Click on "News" folder
      2. Click on "Create new" button
      3. Choose "Article" from the drop down list
      4. Fill in the fields
      	Title (required) : Article 1
      	Summary (required) : Summary of article 1
      	Publish date: Set the your current date plus 5 minutes
      
      5. Click on "Send for publishing" button
      
      Verify the Article isn't published
      
      1. Access frontpage
      2. Click on "News" folder
      3. Verify that "Article 1" isn't present
      4. Wait 5 minutes
      
      Run Frequent cronjob
      
      1. Open terminal/putty window
      2. Run frequent cronjob by typping
      
       $ php runcronjobs.php frequent
      
      Verify the Article is published
      
      1. Access frontpage
      2. Click on "News" folder
      3. Verify that "Article 1" is present
      4. Logout
      
      

      Attachments

        Activity

          People

            unknown unknown
            pedro.resende pedro.resende
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: