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.
There's no really sensible behavior for pulling values when you're syncing a constant or token, and if you accidentally leave these rows configured as "sync" you get some ugly errors.
Comment | File | Size | Author |
---|---|---|---|
#4 | salesforce-pull_fieldtype_validation-2184693-4.patch | 1.07 KB | AaronBauman |
#1 | restrict_pull_to_sensible_mapping_types.patch | 993 bytes | gcb |
Comments
Comment #1
gcbPatch attached, needs testing.
Comment #2
gcbComment #3
AaronBaumanI'd probably call this a bug, since it's gonna be throwing notices when calling non-existent functions.
Attaching patch to also add a function_exists() call to this conditional.
Comment #4
AaronBaumaner, updated patch.
Comment #5
mariacha1 CreditAttribution: mariacha1 at ThinkShout commentedThe issue described here is fixed by https://www.drupal.org/node/2612942 but it would be nice to let people know, when they're saving their mapping form, that constants and tokens can't be pulled. Going to hijack this issue for that purpose. :)