*** This bug is a duplicate of bug 1603206 ***
    https://bugs.launchpad.net/bugs/1603206

** This bug has been marked a duplicate of bug 1603206
   Anonymously placed comments end up with system user

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1555329

Title:
  System user was notified when anonymous feedbacks were added

Status in Mahara:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  Version: master (16.04), 15.04, 15.10
  Platform: any

  Steps:

  1. Change email address of user with id=0 in database to your email address.
  2. Login as a normal user, create a page and share the page to public allow 
anonymous feedbacks on it.
  3. Logout, access to the page and add a comment

  Expected result:
   You should not receive an email with subject "New feedback on ..."

  the condition isset($author) should be added in the if statement in
  the line 1630, htdocs/artefact/comment/lib.php

   if ( isset($author) && !get_field('usr_watchlist_view', 'ctime', 'usr', 
$author, 'view', $view->get('id')) && ($author != $owner)) {
   ...
   }

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1555329/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to