mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #35030
[Bug 1555329] Re: System user was notified when anonymous feedbacks were added
** Changed in: mahara/15.04
Milestone: 15.04.7 => None
** Changed in: mahara/15.10
Milestone: 15.10.3 => None
--
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 15.04 series:
Won't Fix
Status in Mahara 15.10 series:
Won't Fix
Status in Mahara 16.04 series:
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
References