Closed (fixed)
Project:
Scheduler
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2016 at 10:49 UTC
Updated:
28 Feb 2016 at 10:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
jonathan1055 commentedAttached is what you get in the Scheduled tab.
I have added an extra assertion in SchedulerPastDatesTests to check that the value is NULL, to make sure we fix it and do not regress. This class was passing but now it has one failure.
Should be a trivial fix to make, though.
Comment #4
jonathan1055 commentedIn addition to the zero in scheduler_node_presave() there are also two places in .rules.inc which remove the dates. Even though the whole Rules functionality has not been converted yet #2651348: Port Rules integration for Scheduler to Drupal 8 this change might as well be done here in one place.
Comment #6
jonathan1055 commentedGood. As expected the SchedulerPastDates is now green with a full set of passes.
Manual testing is also OK, the date is removed.
Setting back to 'needs review' for other folk to verify the change.
Comment #7
pfrenssenLooking good, thanks!
Comment #9
jonathan1055 commentedThanks for the review. Fixed.
... and an extra class passes. Now 23 passes and 5 fails.