Added patch. Missing test.
ibustos → changed the visibility of the branch 2.x to hidden.
ibustos → created an issue.
Noticed the patch was not taking into account articles that may have been previously unpublished. Adding a small increment to address this.
Adding validation before invoking hasField
on $entity
during entityPresave()
.
Please disregard my patch above as it doesn't apply cleanly. I basically enhanced the code a bit since it did not work on my use case as my content entity has a different "published" key other than "status".
Enhanced the code a bit since it did not work on my use case as my content entity has a different "published" key other than "status".
I cannot unfortunately keep maintaining this project. Marked as "Seeking new maintainer". Would you like to be one?
Done. Thank you!