Closed (fixed)
Project:
Scheduler
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 May 2015 at 11:05 UTC
Updated:
15 Sep 2016 at 08:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
joekersAlthough the issue says to check if the option is set to display an error, I couldn't find this in the D7 version of the module, so I left this out.
Comment #3
jonathan1055 commentedComment #5
jonathan1055 commentedCorrected the summary which had some copy/paste accidental extra info regarding an option. This was only applicable for the publish-on field.
Also removed the note about this issue being postponed, that was just wrong (and the issue was not postponed anyway). Work can be done on this issue - the patch will need re-rolling, though.
Comment #6
jonathan1055 commentedHere's a re-rolled patch. Same basic coding as before.
If the patched code is tested then we should get a clean set of passes for testSchedulerPastDates() as the code is working fine in manual testing, local simpletest runs and via run-tests.sh
Comment #8
jonathan1055 commentedLooks like the patches are still not being applied (or maybe I am doing something wrong? although I have been following the same operations as were sucessful before).
On the test results console I noticed:
It might be nothing, but it seems odd to me that the message says it has applied the patch to
/sites/all/modules/schedulerwhen that is the 7.x directory path. in 8.x it should be/modulesdirectly under the root. Maybe the testing servers do things differently, but this looks wrong to me. Does anyone have any other ideass about how we can resolve this?Comment #9
pfrenssenThe original path "sites/all/modules" still works, even though it no longer is the preferred location. I assume that the kept it the same on DrupalCI to make it easier to deal with both D7 and D8 projects.
Comment #10
jonathan1055 commentedWell, actually it has changed on DrupalCI in the last week or so. On 4th December it was running Drupal 8.0 and the folder was just
/modules. But by 15th December it was running 8.1 and the folder was/sites/all/modules. However the directory that the tests were run from appeared to be/modulesin both cases. I've attached a comparison on the console logs with the timestamp set to zero and id set to NNNNN so that it shows actual differences. This is only part of the log but it does seem not quite right.I have also re-queued an old patch which should definitely fail to apply and the test ran without any error.
Comment #11
jonathan1055 commentedIt is not just me! There really is a problem #2634114: Patches not applied correctly for contrib modules, PHP >= 5.4?
Comment #13
jonathan1055 commentedNow that DrupalCI patches are being applied again I re-queued the patch in #6. We now get a clean set for testSchedulerPastDates as expected.
Overall we get 9 test classes passes and 7 fails.
Comment #15
jonathan1055 commentedThanks Joe for the original patch.
Now we are moving again.
Comment #17
jonathan1055 commentedThis is fixed so setting to Unassigned