← Back to team overview

mahara-contributors team mailing list archive

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

 

** This bug is no longer a duplicate of bug 1979921
   Potential issue with artefact chooser and getting group  artefacts

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

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

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

** Also affects: mahara/22.10
   Importance: High
       Status: In Progress

** Also affects: mahara/23.04
   Importance: Undecided
       Status: New

** Also affects: mahara/22.04
   Importance: Undecided
       Status: New

** Changed in: mahara/22.10
    Milestone: 23.04.0 => 22.10.1

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

** Changed in: mahara/22.04
    Milestone: None => 22.04.4

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

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

** Changed in: mahara/23.04
       Status: New => In Progress

** Changed in: mahara/22.10
       Status: In Progress => Confirmed

** Changed in: mahara/22.04
       Status: New => 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/1990981

Title:
  Unable to copy pages or collections into group

Status in Mahara:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  Confirmed
Status in Mahara 23.04 series:
  In Progress

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



References