Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad links in notify e-mail for shared folders #21

Open
ghost opened this issue Jul 11, 2014 · 0 comments
Open

Bad links in notify e-mail for shared folders #21

ghost opened this issue Jul 11, 2014 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 11, 2014

System is a CentOS 6.5 VM,

owncloud was installed from the packages available at the isv:ownCloud:community repo
owncloud.noarch 6.0.4-8.1 @isv_ownCloud_community
owncloud-3rdparty.noarch 6.0.4-8.1 @isv_ownCloud_community

Linux owncloud.moberg 2.6.32-431.5.1.el6.x86_64 #1 SMP Wed Feb 12 00:41:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

MailNotify app reports as being 3.0.0-RC2 in the 'Apps' screen in Owncloud.

Reproduction:
Create two users: user1 & user2
user1 creates a folder and shares it with user2
user1 marks the folder for notification.
user2 uploads a file to the shared folder
user1 gets the notification e-mail, BUT the link inside it is completely useless.

For a folder named 'Ginos' shared by mhkohne to another user, this is the message mhkohne gets when the other user uploads something:

Hi, mhkohne,

    Following files have been modified.

  • Ginos
  • This e-mail is automatic, please, do not reply to it.

    From my quick perusal of the code, it looks like at least part of the problem is that the 'linkTo' isn't returning a sensible value. Since I have good reason to believe that works otherwise, I'm guessing that cronjob.php isn't quite getting the environment setup correctly before it calls do_notification_queue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants