Skip to content

Ensure OptionValue api call is compatible with https://github.com/civicrm/civicrm-core/pull/31909

colemanw requested to merge colemanw/formfieldlibrary:optionValueFix into main

Hi! I wanted to let you know that OptionValues for 'from_email_address' are moving to a new table.

Changes like this can be a hassle for extension maintainers, so we're trying to keep this as painless as possible by adding backward-compatibility adapters to core. Most Api3 and Api4 calls to this option group will still work (behind-the-scenes, the adapter will read/write from the other table and convert values from one format to the other). A few other commonly-used functions have also been adapted, see full migration notes here.

In the short term, this one small change is needed to ensure forward-compatibility. The adapter needs to be able to identify the option group of the call so it can provide the correct options. I think this is the only change needed.

In the long term, this extension could switch to the new DomainEmailAddress api when bumping min compat to 6.0.

Merge request reports

Loading