File sharing dialog does not notify user if recipient has no email
I took me about a day to get down to this issue.
When importing users from ldap, they do not get an email set (which might be another bug). When trying to share a file to these users, nothing happens.
Version: ownCloud 6.0.2
The fix is pretty simple: In core/ajax/share.php add the following at line 163:
} else { // no mail known -> inform user
$noMail[] = \OCP\User::getDisplayName($recipient);
}
That way, the users is notified that the mail could not be sent.
@blizzz @schiesbn
@uka-support in LDAP Advanced settings you can set up the attribute to read the email from, this is optional. We may switch to do this automatically (maybe with opt-out if it makes sense), but this is clearly not a bug, but intended behaviour.
But I agree that a notification makes sense in the given scenario. It will also need to work reasonably when the mail was not sent to a large pile of users.
@blizz I opened #7785 for the LDAP issue.
Thank you, I commented there already. Feedback appreciated. Btw, the guy with only 2 z is someone else.
Wrong blizz, is there any way to stop this from continuing? Connected by DROID on Verizon Wireless
-----Original message-----
From: uka-support [email protected]
To: owncloud/core [email protected]
Cc: blizz [email protected]
Sent: Tue, Mar 18, 2014 11:19:18 GMT+00:00
Subject: Re: [core] File sharing dialog does not notify user if recipient
has no email (#7783)
@blizz I opened #7785 for the LDAP issue.
Reply to this email directly or view it on GitHub: https://github.com/owncloud/core/issues/7783#issuecomment-37921628
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Layer 8 issue, unfortunately, but I will ask Github, maybe they have an idea. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux)
iQIcBAEBAgAGBQJTKC+8AAoJEHQk8YdIVN8jFCAQAJG8dumNOBceg1OJRfWGRkyy 90JZew5J0feZA+UQpIvARwpqfVzYrvvE/29NeSgNzUy8JIXOfdTKlqhH3yyPt88u nU9Xe4gOjmtwLAjefVg75gbn5hD0nGol1M98PNMgv+zlONeFcGs0BQToiqoSwL4Z qunEme+vgVrkaHe6wpqrLJGaCHxWVS2HNNboaZHgP2JRapgsAe+o6ZMZOigdiDzK Wpemc9vbGEzEHVi4rrGnCBMVza0jDNCdy8Zs/cXuqLtCkm8FxIVJAqtoNWtmJDPa 6b7Q7CLaew1Cwuqt+EQz13xEJ/Am5lD+oB216vfIbbw4SGg8dign5xuNMjmzN9EJ fwujxWJsEaxkEPzpl6OXxNwY8gpHT8Mii/3X2fBMbWu6u0R2oQXvDyHCUV3rox3R muLr/46oc3M6cbyXeiP1Na2m/JYsZxabg5WnbOujmom53p/DTbKrqftuE0BmWwmA e7K/PFVf+sj4MD+ZUx9zPkXdym8Xblyw0h8ijAz8AAO1lwGleD98/Bre0qXqWhZZ 4jjBjCr1J0JzYFp5mTn3xJFhW2UxxOmlyZuIDvVPhlvq5hSbcp6dT1rCTCVFw0GP KtqfProcU7GKrmcxDjFX9aVT46iNSM648yb+6iVSs4IADCIB+kbgJsKpCnTVDdN7 1BRN/aQXNiz8BrQw/Mmn =YhAk -----END PGP SIGNATURE-----
@blizz you could change your notification setting to not receive any notifications from this repo
@blizz Github support says nothing that can be done about this, except of changing the username. If @DeepDiver1975's suggestion does not help, too, I guess I change my nick.
@schiesbn This if fixed, correct?
Yes, this should be fixed. @uka-support feel free to re-open the issue if you still have the problem with ownCloud7.