Profiles have versatile use. Sometimes we may need to store arbitrary data about them that does not quite require a field. An example is in #3022850: [Addressbook, part 1] Rework the ownership model for customer profiles. We want to maintain a "source" value to know how a profile was derived from another profile, and if it should be converted to a user's addressbook.

CommentFileSizeAuthor
#2 3039163-2.patch2.95 KBmglaman

Comments

mglaman created an issue. See original summary.

mglaman’s picture

Status: Active » Needs review
StatusFileSize
new2.95 KB

Field added and installed.

mglaman’s picture

Issue tags: +Needs tests

The Kernel tests for the Profile entity should test these methods.

  • bojanz committed 80f550c on 8.x-1.x authored by mglaman
    Issue #3039163 by mglaman: Create a "data" field using a map data type
    
bojanz’s picture

Status: Needs review » Fixed

Added the (minimal) test coverage, and committed.

Status: Fixed » Closed (fixed)

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