Closed (fixed)
Project:
Name Field
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2015 at 14:21 UTC
Updated:
16 Oct 2015 at 12:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
LKS90 commentedHere is the patch that fixes all the issues.
Comment #3
giancarlosotelo commentedLooks good.
Comment #4
webflo commentedThe user_preferred settings needs to be a string because we store the field name is this config property.
Take a look at name_field_config_create and name_field_config_delete.
I think we should change the default value to empty string instead.
Comment #5
LKS90 commentedHere is the patch without the wrong change. Now there are some test fails (which I vaguely remember), I don't think they are related, but you will probably know that :). I used an empty string as the default configuration for the user_preferred setting, I guess one of the two functions will be called afterwards to set it correctly.
Comment #6
giancarlosotelo commentedI tested locally with
protected $strictConfigSchema = FALSE;and fails are not related to the schema. So the patch is fine.Comment #9
giancarlosotelo commented