← Back to team overview

mahara-contributors team mailing list archive

[Bug 1095221] Re: Incorrect Profile icon URL link in Feedback of a view

 

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

I just use a alternative fix:
mahara/artefact/comment/theme/raw/commentlist.tpl

Line 6:
Fom:	<div class="icon"><a href="{$item->author->profileurl}">
To:	<div class="icon"><a href="{$WWWROOT}user/view.php?id={$item->author->id}">


Line 9:
From:	<a href="{$item->author->profileurl}" class="username">{$item->author|display_name}</a></div>
To:	<a href="{$WWWROOT}user/view.php?id={$item->author->id}" class="username">{$item->author|display_name}</a></div>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1095221

Title:
  Incorrect Profile icon URL link in Feedback of a view

Status in Mahara ePortfolio:
  New

Bug description:
  Find that Profile icon URL link generated using the wrong field for
  the "id=" inside the href.

  For example in this link:
  https://mahara.yourdomain.com/view/view.php?id=10972

  The wrong link generated is:
  https://mahara.yourdomain.com/user/view.php?id=52250

  The correct link should be
  https://mahara.yourdomain.com/user/view.php?id=41

  The wrong link uses the value of field “artefact” in table
  “artefact_comment_comment”.

  The correct link SHOULD uses the value of field “onview” in table
  “artefact_comment_comment”.

  After verification both version 1.6.1 and 1.6.2 get the same problem.

  The Profile icon URL link will appear in 
  <div class="viewfooter">
     <table id="feedbacktable" ......

  
  Please check how to fix it.

  
  Best Rgds,

  Rocky.

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


References