Details
-
Type: Sub-task
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.31
-
Fix Version/s: 4.7.31
-
Component/s: CiviCRM API
-
Labels:
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:Developer Doc
-
Funding Source:Contributed Code
-
Verified?:No
Description
Per CRM-13123 there is now a standard for describing how fields should be serialised using metadata. I think this should be exposed using basic_create fallover (maybe more later) for api v3. This can be easily handled in 'copyValues' but I think it should be by an extra param $serializeArrays so we can trigger it from only one place initially (to prevent unexpected consequences)
Encouraging extension writers to add the metadata to support this should also be good for them transitioning to api v4.