[Koha-bugs] [Bug 5010] Incomplete links in carts and lists sent from the staff client

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 6 01:49:20 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5010

M. Tompsett <mtompset at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #25877|0                           |1
        is obsolete|                            |

--- Comment #16 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 25878
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25878&action=edit
[SIGNED OFF] Bug 5010: Send list emails with complete links back into the
catalog

This patch adapts the way the links in the cart email in OPAC
are generated for the list emails.

The OpacBaseURL variable is generated from code in Auth.pm.

To test:
- Create a list
- Email yourself the list
  Note: Email is sent directly and not via messagequeue table
- Verify the links back into the catalog are missing http(s)://
- Apply the patch
- Email yourself the list again
- Verify the links are now ok and working

Note: The way Auth.pm generates the OpacBaseURL is not correct, as
it does not take into account the OpacBaseURL system preference.
This patch makes both emails sent from OPAC rely on the same
code and is an improvement over the current behaviour.

Tested both together using steps similar to larger test plan.

Signed-off-by: Mark Tompsett <mtompset at hotmail.com>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list