Skip to content

Email validation in public sharing dialog doesn't have a good UX #29703

Closed

Description

@SergioBertolinSG

Steps to reproduce

  1. In the sharing options enable:
    Allow users to send mail notification for shared files
    and
    Allow users to send mail notification for shared files to other users.

  2. Open the dialog to share a file by link.

  3. Enter an invalid email in the field Send link via email.

Expected behaviour

The user is informed that the email introduced is not valid. Using a red font or a warning message before sending the request.

Actual behaviour

This field remains black:

screen shot 2017-11-28 at 15 26 43

And an error dialog appears informing that the email couldn't be sent (No validation before) :

screen shot 2017-11-28 at 14 08 15

Server configuration

Operating system:
Ubuntu 16.04

Web server:
Apache

Database:
MySQL

PHP version:
7.1

Cache
DB

ownCloud version: (see ownCloud admin page)
(stable10)
{"installed":true,"maintenance":false,"needsDbUpgrade":false,"version":"10.0.4.2","versionstring":"10.0.4 RC1","edition":"Community","productname":"ownCloud"}

Updated from an older ownCloud or fresh install:
Fresh

The content of config/config.php:


Are you using external storage, if yes which one: local/smb/sftp/...
No.

Are you using encryption:
No.

Logs


Client configuration

Browser
Chrome

cc @PVince81 , @felixheidecke

Activity

  1. added this to the QA milestone on Nov 28, 2017
  2. pmaier1 commented on Nov 28, 2017

    @pmaier1
    Contributor

    This is a part of the ticket here #29694.
    Agree with the expected behavior. The wording should be adapted to what is stated in the referenced ticket.

  3. lordelix commented on Dec 1, 2017

    @lordelix
    Contributor

    And an error dialog appears informing that the email couldn't be sent (No validation before)

    The _sendMail Method checks for a valid email format but throws the same error as if it couldn't send even if it didn't try. I'll go ahead and extend my pending PR: #29721

  4. ownclouders commented on Jan 9, 2018

    @ownclouders
    Contributor

    Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.

    (This is an automated comment from GitMate.io.)

  5. modified the milestones: QA, on Jan 12, 2018
  6. ownclouders commented on Feb 20, 2018

    @ownclouders
    Contributor

    Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.

    (This is an automated comment from GitMate.io.)

  7. PVince81 commented on Apr 3, 2018

    @PVince81
    Contributor

    should be fixed now

  8. lock commented on Jul 30, 2019

    @lock

    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.

  9. locked as resolved and limited conversation to collaborators on Jul 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions