Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In the method getRemoteIdByUUID() when the request ends up with an exception the caller will not notice it. The logic in the doSync() method will then evaluate this as the remote entity does not exist and will attempt for create action.
To fix this the exception from getRemoteIdByUUID() should bubble up. See the attached patch.
Comment | File | Size | Author |
---|---|---|---|
sc_throw_exception_on_get_remote_id_call.patch | 1.38 KB | blueminds | |
Comments
Comment #2
irek02 CreditAttribution: irek02 at Acquia commentedThe patch looks sane!
Comment #4
blueminds CreditAttribution: blueminds commented