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

(tc-79 DB cluster) All of notifications are sent even if the content is published before notification is subscribed

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: High High
    • 4.6.0-dev
    • Notifications
    • None
    • Operating System: RHEL 6.1
      PHP Version: 5.3.3
      Database and version: musql
      Browser (and version): FF7
      Ezoublish Implementation: DB Cluster mode

    Description

      Created Folder 1 and Article 1...
      After this in plain site i subscribed the notifications for Folder 1
      Created Article 2 in Folder 1
      After running the frequent cronjob all i've recived 3 emais, Folder 1, Article 1 and Article 2
      I'm receiving notifications from content created before i subscribed the content

      Steps to reproduce
      Create user
      
          Log in as admin in admin interface
          Click "User accounts" in the top menu
          Click "Editors"
          Create a new user:
          First name : te
          Last name : st
          Username : test
          Password : test1
          Confirm password : test1
          Email : specify a email address the test user has access to.
      
      Fix nofication permissions
      
          Click "Roles and policies" in left menu
          Edit "Editor" role
          Click "New policy" button
          Select "notification" in drop down
          Click "Grant access to one function" button
          Select "use" in drop down
          Click "Grant full access" button
          Click "OK" button
           
      
      Create some content
      
          Click "Content structure" in top menu
          Create a new folder named "News"
          Click "News" link
          Create new article:
          Title : article1
          Intro : intro1
          Body : body1
          Click "Send for publishing" button
      
      Subscribe to subtree
      
          Go to plain site
          Log in as test/test1
          Click "News" link
          Click "Notify me about updates" button
          Validate that you get a "Notification for node <News> was added successfully." message
          Click OK button
      
      Create some content that should not result in notification
      
          Log in as admin in admin interface
          Click "Content structure" in top menu
          Create new folder "Music"
          Click "Music" link
          Create new article:
          Title : article2
          Intro : intro2
          Body : body2
          Click "Send for publishing" button
      
      Create some content that should result in notification
      
          Click "Content structure" in top menu
          Click "News" link
          Create new article:
          Title : article3
          Intro : intro3
          Body : body3
          Click "Send for publishing" button
      
      Run the notification cronjob
      
          Click "Selenium tests" in top menu
          Click "Cronjobs" in left menu
          Execute the "frequent" cronjob
      
      Validate that one email is sendt
      
          Validate that you get notification by email that article3 has been created
          Validate that you do *not* get notification by email that article2 has been created
      
      

      Attachments

        Activity

          People

            e8318ba6-e4ae-477c-9116-36c073bd11a3@accounts.ibexa.co Patrick Allaert
            jpingo jpingo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: