Fullscreen
Loading...
 
Skip to main content

Inconsistent Report Email Body

Status
Open
Subject
Inconsistent Report Email Body
Version
15.x
Category
  • Consistency
Feature
Watch (email notifications of changes)
Resolution status
New
Submitted by
alex_ring
Lastmod by
alex_ring
Rating
(0)
Description

Noticed some odd behavior today with the email that users receive for reports. If the user has the option: receive a report even when nothing has happened enabled, sometimes the link at the end of the email that is supposed to redirect to user watch preferences is broken. This only occurs when the email is reporting that no changes have been made.

For example, if the report has changes included the email is:


Report on wiki for User
Last report sent on Monday June 27, 2016

Changes in detail:
(Changes)

You are receiving notification emails grouped in a periodic digest. To receive them individually when posted instead, change your preferences at https://wikiurl/tiki-user_watches.phpQuestion


That last bit is what seems to be inconsistent. If no changes have been made the email instead looks like (notice the link at the end).


Report on wiki for user
Last report sent on Monday June 27, 2016

Changes in detail:
Nothing has happened

You are receiving notification emails grouped in a periodic digest. To receive them individually when posted instead, change your preferences at http:///tiki-user_watches.phpQuestion


So, if nothing has happened to report the link to the user watch preferences is replaced with ///tiki-user_watches.php, which is obviously a broken link. Also worth noting for anyone trying to debug, the URL begins with https:// when there are changes to report and http:// when there are no changes to report.

Importance
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6012
Created
Tuesday 28 June, 2016 15:01:19 UTC
by alex_ring
LastModif
Sunday 10 October, 2021 03:06:58 UTC


Show PHP error messages