MappedObject does opposite of what it says it does

Created on 25 April 2024, 8 months ago

Problem/Motivation

The code does the opposite of what it says it does

salesforce/modules/salesforce_mapping/src/Entity/MappedObject.php

// If $value is TypedData, it should have been set during pullValue().
if (!$value instanceof TypedDataInterface) {
  $drupal_field = $field->get('drupal_field_value');
  $drupal_entity->set($drupal_field, $value);
}

Proposed resolution

Remove negative validation.

πŸ› Bug report
Status

Needs work

Version

5.0

Component

salesforce_mapping.module

Created by

πŸ‡ͺπŸ‡ΈSpain keopx Basque Country

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024