Closed (fixed)
Project:
Scheduler
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 May 2022 at 12:19 UTC
Updated:
22 Jun 2022 at 21:44 UTC
Jump to comment: Most recent
I'm implementing an ECK integration for the 2.x branch of this module and I noticed the module is still assuming the entity to implement EntityChangedInterface.
Enable scheduling on an ECK entity without changed field
Check whether the entity implements EntityChangedInterface before trying to change the changed date.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
dieterholvoet commentedComment #4
jonathan1055 commentedThanks, this is useful. Can you fix the coding standard error please?
Also, should we try to add test coverage for this? How much work would it be to create a ECK entity in our testbase and then use it on selective tests (not all tests, but the ones in which relevent to the code changes in these two issues).
Comment #5
dieterholvoet commentedWell, I was planning on creating a new project for the ECK integration, but if you want I can create a MR on the main project. If not, I think we would have to add the separate integration as a test dependency to the main project in order to use ECK entities in tests.
Comment #6
jonathan1055 commentedThat sounds like a good idea. When that is done, we can add the new module as a test dependency and create some extra tests.
Comment #8
jonathan1055 commentedCommitted. Thank you for providing these enhancements, and #3282982: Simplify the scheduler plugin implementations