This function currently does a whole bunch of stuff besides saving an option set with field info, including creating a new agent if a particular property is set on the option set. We should abstract the logic out so that we have a function that does the bare basics of saving a fields-based option set, including setting up the cache entry in cache_personalize_fields.

Comments

katbailey’s picture

Status: Active » Needs review
StatusFileSize
new6.07 KB
eshta’s picture

Status: Needs review » Reviewed & tested by the community

Makes sense to me and clears up responsibilities better :-)

katbailey’s picture

Status: Reviewed & tested by the community » Fixed

  • katbailey committed 361eae9 on 7.x-2.x
    Issue #2490890: Refactoring the personalize_fields_option_set_save()...

  • katbailey committed 361eae9 on 7.x-1.x
    Issue #2490890: Refactoring the personalize_fields_option_set_save()...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.