← Back to team overview

mahara-contributors team mailing list archive

[Bug 1990981] [NEW] Unable to copy pages or collections into group

 

Public bug reported:

When trying to copy a page or collection into a group, the group
information gets lost when moving away from the first page of
candidates. Collections will be copied, but into the personal area, not
into the desired group.

Debugging shows line 6504 in lib/view.php to be the culprit. Adding
params only when there are none makes no sense. Removing the negation
seems to solve the problem. Please find patch included.

First part of patch solves a type mismatch error related to copying pages with certain artefacts.
Second part solves this actual bug.

Mahara version 22.04.2
Ubuntu 20.04
MariaDB 10.3

Reproducible on current demo.mahara.org

** Affects: mahara
     Importance: Undecided
         Status: New

** Patch added: "group_copy_patch.txt"
   https://bugs.launchpad.net/bugs/1990981/+attachment/5619460/+files/group_copy_patch.txt

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

Title:
  Unable to copy pages or collections into group

Status in Mahara:
  New

Bug description:
  When trying to copy a page or collection into a group, the group
  information gets lost when moving away from the first page of
  candidates. Collections will be copied, but into the personal area,
  not into the desired group.

  Debugging shows line 6504 in lib/view.php to be the culprit. Adding
  params only when there are none makes no sense. Removing the negation
  seems to solve the problem. Please find patch included.

  First part of patch solves a type mismatch error related to copying pages with certain artefacts.
  Second part solves this actual bug.

  Mahara version 22.04.2
  Ubuntu 20.04
  MariaDB 10.3

  Reproducible on current demo.mahara.org

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



Follow ups