When you create a new email field, and enter a default value. The default value is not saved anymore. Also editing the field and then try to set a default value, doesn't work anymore.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nils.destoop’s picture

Patch attached should fix it. I'll check for a test for it.

nils.destoop’s picture

Status: Active » Needs review
FileSize
2 KB
1.43 KB

Added a test. First patch should fail, second one should pass.

swentel’s picture

#2015703: Convert field type to typed data plugin for email module got it in, not sure if it conflicts or needs a reroll.

nils.destoop’s picture

Status: Needs review » Needs work

Shouldn't break, but lets check

nils.destoop’s picture

Status: Needs work » Needs review
FileSize
2 KB
Berdir’s picture

#5: 2053245-2-email_default_value.patch queued for re-testing.

Berdir’s picture

Status: Needs review » Closed (duplicate)

Thanks for noticing this. Another issue found this in the meantime, this should be fixed in HEAD. That issue also had test failures, so we basically have test coverage for this, although not quite as explicit as this issue would have added.