Allow RelatedIds to be required

Created on 8 February 2019, almost 6 years ago
Updated 31 January 2024, 11 months ago

In 8.x-3.x for mappings that have fields which are related IDs the current behavior is that when the lookup fails to simply return blank, but there is no way to flag the field as required by the Drupal entity. In some cases this can cause failures when the Drupal entity is saved by the MappingObject and a required relationship is missing (this is an issue for group_content entities from the groups module, likely for paragraphs, and probably others).

It would be helpful to be able to flag these fields as required and stop processing before the entity save is attempted. It could either go back to the queue, for a later attempt (which is the currently assumed behavior but not all contrib modules throw exceptions correctly for that to work) or skipped entirely.

✨ Feature request
Status

Closed: outdated

Version

4.0

Component

salesforce_mapping.module

Created by

πŸ‡ΊπŸ‡ΈUnited States acrosman South Carolina, US

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States AaronBauman Philadelphia

    I'm doing some cleanup on unsupported branches.
    Please re-open this issue and update the version to 5.0.x-dev if this issue is still applicable to the latest release.

Production build 0.71.5 2024