[Mahara-contributors] [Bug 1955080] Re: Deleted collection breaks Submissions within a group table

2021-12-19 Thread Kristina Hoeppner
*** This bug is a duplicate of bug 1952771 ***
https://bugs.launchpad.net/bugs/1952771

** This bug has been marked a duplicate of bug 1952771
   PHP warnings on menu->share->submissions and related issues

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

Title:
  Deleted collection breaks Submissions within a group table

Status in Mahara:
  New

Bug description:
  Mahara 21.04.2
  MySQL 8.0.27-0

  Pre-requsite
  Submissions module plugin enabled
  Group set up with submissions allowed

  Steps to reproduce
  1) Learner A submits collection to group
  2) Learner B submits collection to group
  3) Learner C submits collection to group
  4) Teacher or admin releases B [optionally A and C also]
  5) Learner B deletes the submitted collection
  6) Teacher or admin visits group submissions page 
../module/submissions/index.php?group=1

  Actual
  Javascript alert "DataTables warning: table id=submissions - true"

  Notification
  Collection with id xx not found

  Table only shows submissions before the deleted submission - Learner A

  
  Expected

  Table shows all submissions

  
  Initial investigation
  htdocs/module/submissions/src/Controller.php
  createDataTableRowFromSubmissionAndEvaluationRecord()

  This function which creates the table calls new \Collection (and also other 
functions which also call new \Collection)
  Collection class (htdocs/lib.collection.php) constructor throws an exception 
if it can't find the record in the database - throw new 
CollectionNotFoundException("Collection with id $id not found");

  This exception is what causes the JS alert and the data to not show.

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


___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1955080] Re: Deleted collection breaks Submissions within a group table

2021-12-17 Thread Alexander Del Ponte
This bug will be solved with https://reviews.mahara.org/#/c/12280/

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

Title:
  Deleted collection breaks Submissions within a group table

Status in Mahara:
  New

Bug description:
  Mahara 21.04.2
  MySQL 8.0.27-0

  Pre-requsite
  Submissions module plugin enabled
  Group set up with submissions allowed

  Steps to reproduce
  1) Learner A submits collection to group
  2) Learner B submits collection to group
  3) Learner C submits collection to group
  4) Teacher or admin releases B [optionally A and C also]
  5) Learner B deletes the submitted collection
  6) Teacher or admin visits group submissions page 
../module/submissions/index.php?group=1

  Actual
  Javascript alert "DataTables warning: table id=submissions - true"

  Notification
  Collection with id xx not found

  Table only shows submissions before the deleted submission - Learner A

  
  Expected

  Table shows all submissions

  
  Initial investigation
  htdocs/module/submissions/src/Controller.php
  createDataTableRowFromSubmissionAndEvaluationRecord()

  This function which creates the table calls new \Collection (and also other 
functions which also call new \Collection)
  Collection class (htdocs/lib.collection.php) constructor throws an exception 
if it can't find the record in the database - throw new 
CollectionNotFoundException("Collection with id $id not found");

  This exception is what causes the JS alert and the data to not show.

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


___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp