← Back to team overview

mahara-contributors team mailing list archive

[Bug 1946162] [NEW] Issue submitting portfolios via LTI Advantage when submissions module is activated

 

Public bug reported:

Mahara 21.10+

An issue can arise when LTI Advantage is used for portfolio submission
to Brightspace (and potentially other LMS, not yet tested) and the
submissions module (went into Mahara 21.04) is active.

[Thu Sep 30 15:40:34.294264 2021] [:error] [pid 28238] [client
10.254.180.3:19647] [WAR] 07 (lib/errors.php:530) [TypeError]: Argument
2 passed to
Submissions\\Tools\\SubmissionTools::createNewSubmissionByPortfolioElementAndGroup()
must be an instance of stdClass, null given, called in
/opt/rh/httpd24/root/var/www/html/mahara/module/submissions/lib.php on
line 156 at
/opt/rh/httpd24/root/var/www/html/mahara/module/submissions/src/Tools/SubmissionTools.php:106,
referer: URL

Catalyst reference: WR 367255

It works when the plugin is not active. Thus, it may not be a big issue
for any Mahara site that is set up for a single institution as there
will most likely be a single workflow to submit all portfolios into the
LMS. However, on multi-tenanted sites it is a problem as some
institutions may connect to an LMS whereas others wouldn't.

** Affects: mahara
     Importance: Medium
         Status: Confirmed

-- 
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/1946162

Title:
  Issue submitting portfolios via LTI Advantage when submissions module
  is activated

Status in Mahara:
  Confirmed

Bug description:
  Mahara 21.10+

  An issue can arise when LTI Advantage is used for portfolio submission
  to Brightspace (and potentially other LMS, not yet tested) and the
  submissions module (went into Mahara 21.04) is active.

  [Thu Sep 30 15:40:34.294264 2021] [:error] [pid 28238] [client
  10.254.180.3:19647] [WAR] 07 (lib/errors.php:530) [TypeError]:
  Argument 2 passed to
  Submissions\\Tools\\SubmissionTools::createNewSubmissionByPortfolioElementAndGroup()
  must be an instance of stdClass, null given, called in
  /opt/rh/httpd24/root/var/www/html/mahara/module/submissions/lib.php on
  line 156 at
  /opt/rh/httpd24/root/var/www/html/mahara/module/submissions/src/Tools/SubmissionTools.php:106,
  referer: URL

  Catalyst reference: WR 367255

  It works when the plugin is not active. Thus, it may not be a big
  issue for any Mahara site that is set up for a single institution as
  there will most likely be a single workflow to submit all portfolios
  into the LMS. However, on multi-tenanted sites it is a problem as some
  institutions may connect to an LMS whereas others wouldn't.

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