← Back to team overview

mahara-contributors team mailing list archive

[Bug 1998874] Re: Fix up showcomments for non page comments causing JS error 'author_link'

 

When you click the link in the notification, you end up with the error
message:

[WAR] 91 (lib/errors.php:529) [InvalidArgumentException]: Field onartefact wasn't found in class ArtefactTypePeerassessment at /home/kristina/code/mahara/htdocs/artefact/lib.php:551
Call stack (most recent first):

    exception() at Unknown:0


** Changed in: mahara
       Status: Incomplete => In Progress

** Changed in: mahara
    Milestone: None => 23.04.0

** Changed in: mahara
   Importance: Undecided => High

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

Title:
  Fix up showcomments for non page comments causing JS error
  'author_link'

Status in Mahara:
  In Progress

Bug description:
  1. Create a page
  2. Add a peer assessment block
  3. Share the page to an account with peer/manager access
  4. As a peer/manager, make an assessment and save
  5. Go to the notification sent to the owner of the page with the showcomment url
  6. Navigate to the url

  Expectation: on save, the page reloads with a new url parameter 'showcomment' with an id and focuses on the comment
  Reality: the page comments dropdown opens, and nothing is focused. Also broken page.

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



References