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.

Files: 
CommentFileSizeAuthor
#5 2053245-2-email_default_value.patch2 KBzuuperman
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 2053245-2-email_default_value_0.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]
#2 2053245-2-email_default_value-test.patch1.43 KBzuuperman
FAILED: [[SimpleTest]]: [MySQL] 57,601 pass(es), 1 fail(s), and 0 exception(s).
[ View ]
#2 2053245-2-email_default_value.patch2 KBzuuperman
PASSED: [[SimpleTest]]: [MySQL] 57,309 pass(es).
[ View ]
#1 2053245-1-email_default_value.patch586 byteszuuperman
FAILED: [[SimpleTest]]: [MySQL] 57,813 pass(es), 1 fail(s), and 0 exception(s).
[ View ]

Comments

StatusFileSize
new586 bytes
FAILED: [[SimpleTest]]: [MySQL] 57,813 pass(es), 1 fail(s), and 0 exception(s).
[ View ]

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

Status:Active» Needs review
StatusFileSize
new2 KB
PASSED: [[SimpleTest]]: [MySQL] 57,309 pass(es).
[ View ]
new1.43 KB
FAILED: [[SimpleTest]]: [MySQL] 57,601 pass(es), 1 fail(s), and 0 exception(s).
[ View ]

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

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

Status:Needs review» Needs work

Shouldn't break, but lets check

Status:Needs work» Needs review
StatusFileSize
new2 KB
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 2053245-2-email_default_value_0.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

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

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.