If entity was cloned and the entity has the moderation state field and can be moderated.
The setTranslationModerationState method called the ContentModerationState::loadFromModeratedEntity() method to load a content moderation state. This one can return NULL and breaks the checks inside the setTranslationModerationState method
Issue fork entity_clone-3314088
Show commands
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
p-neyens commentedComment #4
alexanderj commentedhi, i will review it.
Comment #5
alexanderj commentedI reviewed and tested your patch and everything is working correctly right now. So moving it to RTBC.
Comment #8
rajeshreeputraComment #11
j2Any updates on when the fix for this issue will have a release?
Comment #12
rajeshreeputra2.0.0-beta2 has been released with these changes.