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

Updating children using eZ MB Password Expiry does not change updatechildren field as before

    XMLWordPrintable

Details

    Description

      Runing the cronjob php $runcronjobs.php ezmbpaex_updatechildren does not change the all of the updatechildren fields to 0.
      I've attached a txt file with the results of the mysql query.
      This was run in RHEL6 and in SingleMode Installation

      Steps to reproduce
      Create test user
      
         1. Log in as admin in admin interface
         2. Click "User accounts" in top menu
         3. Click "Guest accounts"
         4. Click "Create here" button
         5. First name : te
            Last name : st
            Username : test
            Password : test1
            Confirm password : test1
            Email : test@example.com
         6. Click "Send for publishing"
      
      Verify database
      
         1. Run querry :
            mysql> select * from ezx_mbpaex;
         2. Verify that all rows has passwordlifetime=3
      
      Update parent (usergroup)
      
         1. Click "User accounts" in top menu
         2. Click "Edit" icon for "Guest accounts"
         3. Edit form data:
            Password LifeTime (DAYS): 4
            Update children nodes?: Checked
         4. Click "Send for publishing"
         5. mysql> select * from ezx_mbpaex;
         6. Verify that one row has passwordlifetime=4 and updatechildren=1
         7. On the command line, go to the test instance ( .run/ directory )
         8. $php runcronjobs.php ezmbpaex_updatechildren
      
      Verify the result
      
         1. mysql> select * from ezx_mbpaex;
         2. Verify that *two* rows now have passwordlifetime=4
         3. Verify that all rows has updatechildren=0
      

      Attachments

        Activity

          People

            unknown unknown
            jpingo jpingo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: