Skip to content

Unable to update notification recipients after upgrading to Freeform 5 #1239

Discussion options

You must be logged in to vote

I've dug a little deeper into this issue and I think I've found the problem:

When the form notification is saved it contains error messages (https://github.com/solspace/craft-freeform/blob/v5/packages/plugin/src/Bundles/Persistence/NotificationPersistence.php#L76). These error messages are caused by a field within the form with a invalid handle name.

array(1) {
  ["fields"]=>
  array(1) {
    ["6c32375e-2d4d-41ca-bc2d-08554d5a7950"]=>
    array(1) {
      ["handle"]=>
      array(1) {
        [0]=>
        string(28) "Value is not a valid handle."
      }
    }
  }
}

One of the fields (in this case an e-mail field) contains a dash - inside the handle name, which causes the notification t…

Replies: 23 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@kate-stretton
Comment options

@kjmartens
Comment options

@seandelaney
Comment options

@jeffreyschmitz87
Comment options

@seandelaney
Comment options

Answer selected by kjmartens
Comment options

You must be logged in to vote
2 replies
@seandelaney
Comment options

@seandelaney
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #1141 on April 25, 2024 13:11.