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

unpublish cronjob uses anonymous credentials

    Details

      Description

      unpublish cronjob uses anonymous credentials, therefore it doesn't affect nodes in restricted areas of the site.

      steps to reproduce (in 4.x):

      . configure article class in content.ini|UnpublishSettings|ClassList
      . create an article and fill in unpublish_date field (to a date in the past)
      . set the node section to restricted
      . run "php runcronjobs.php" (unpublish.php will run)
      . verify that the object was not affected

      steps to reproduce (in 5.x):

      . configure a class to have a datetime field with unpublish_date as identifier
      . configure <your class> in content.ini|UnpublishSettings|ClassList
      . create an <your class> and fill in unpublish_date field (to a date in the past)
      . set the node section to restricted
      . run "php runcronjobs.php" (unpublish.php will run)
      . verify that the object was not affected

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Confirmed Confirmed
        2m 2s 1 joaquim.cavalleri@ez.no 24/Sep/13 5:04 PM
        Confirmed Confirmed InputQ InputQ
        16h 28m 1 Gunnstein Lye 25/Sep/13 9:33 AM
        InputQ InputQ Development Development
        9h 34m 1 joaquim.cavalleri@ez.no 25/Sep/13 7:08 PM
        Development Development Development Review Development Review
        31s 1 joaquim.cavalleri@ez.no 25/Sep/13 7:08 PM
        Development Review Development Review Development Review done Development Review done
        23h 14m 1 joaquim.cavalleri@ez.no 26/Sep/13 6:22 PM
        Development Review done Development Review done Documentation Review done Documentation Review done
        1h 23m 1 joaquim.cavalleri@ez.no 26/Sep/13 7:46 PM
        Documentation Review done Documentation Review done QA QA
        16h 53m 1 Joao Pingo (Inactive) 27/Sep/13 12:40 PM
        QA QA Closed Closed
        2d 22h 38m 1 Joao Pingo (Inactive) 30/Sep/13 11:18 AM
        Closed Closed Reopened Reopened
        45m 36s 1 Joao Pingo (Inactive) 30/Sep/13 12:03 PM
        Reopened Reopened Closed Closed
        1s 1 Joao Pingo (Inactive) 30/Sep/13 12:03 PM

          People

          • Assignee:
            Unassigned
            Reporter:
            Joaquim Cavalleri (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            7 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 - 2 hours, 30 minutes
              2h 30m