Add email validation#28507
Conversation
show email field even if the model !isNew
(Creating share link is done even if mail fails)
|
@PVince81 pls have a look. |
|
@felixheidecke can you list the test cases you tested manually ? (it's the "How was this tested" section in the PR template) Code looks good |
|
@PVince81 updated and added tests :-) |
|
restarted jenkins build |
|
Forget about Jenkins... git fetch failures... I ran the JS tests locally and they all passed, merging. @felixheidecke please backport to stable10 |
|
this got lost because no labels and no milestone was set ... damn ... is it that hard? |
|
@felixheidecke please backport as soon as possible |
| var itemSource = this.itemModel.get('itemSource'); | ||
|
|
||
| if (!this.validateEmail(recipientEmail)) { | ||
| deferred.reject(); |
There was a problem hiding this comment.
I think we should return here to avoid sending the ajax request below
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Related Issue
Fixes #28451
How was this tested
Types of changes
Checklist: