← Back to team overview

mahara-contributors team mailing list archive

[Bug 2023778] [NEW] When duplicating a portfolio in a group, changing page or number of results per page looses goup in URL

 

Public bug reported:

When a page or collection exists in a group, and we want to duplicate it
to another group, if the number of pages or collections available for
copy is larger than 10, there are multiple pages available.

If the page or collection is not displayed in the first page, then we
can change page at the bottom, or change the number of available results
in the page.

But either of these options result in loosing the ?group=XX in URL, thus
the copy will now not target the group but rather our personal page.

E.g. : before clicking on page 2 at bottom, the URL is:
[...]/view/choosetemplate.php?searchcollection=1&group=2

But after clicking on page 2 at bottom, the URL is:
[...]/mahara/view/choosetemplate.php?viewoffset=10&setlimit=1&limit=10

Notice that there is no longer the "group=2", thus copy will now not target the group.
The only workaround I found is to not use the selectors at the bottom of the page, but rather manually add &limit=100 in the URL to display all the available pages and collections.

Mahara version: 22.10.0.
OS: Windows 10
Browser: Firefox

** Affects: mahara
     Importance: Undecided
         Status: New

** Description changed:

  When a page or collection exists in a group, and we want to duplicate it
  to another group, if the number of pages or collections available for
  copy is larger than 10, there are multiple pages available.
  
  If the page or collection is not displayed in the first page, then we
  can change page at the bottom, or change the number of available results
  in the page.
  
  But either of these options result in loosing the ?group=XX in URL, thus
  the copy will now not target the group but rather our personal page.
  
  E.g. : before clicking on page 2 at bottom, the URL is:
  [...]/view/choosetemplate.php?searchcollection=1&group=2
  
  But after clicking on page 2 at bottom, the URL is:
  [...]/mahara/view/choosetemplate.php?viewoffset=10&setlimit=1&limit=10
  
  Notice that there is no longer the "group=2", thus copy will now not target the group.
  The only workaround I found is to not use the selectors at the bottom of the page, but rather manually add &limit=100 in the URL to display all the available pages and collections.
+ 
+ My Mahara version is: 22.10.0.

** Description changed:

  When a page or collection exists in a group, and we want to duplicate it
  to another group, if the number of pages or collections available for
  copy is larger than 10, there are multiple pages available.
  
  If the page or collection is not displayed in the first page, then we
  can change page at the bottom, or change the number of available results
  in the page.
  
  But either of these options result in loosing the ?group=XX in URL, thus
  the copy will now not target the group but rather our personal page.
  
  E.g. : before clicking on page 2 at bottom, the URL is:
  [...]/view/choosetemplate.php?searchcollection=1&group=2
  
  But after clicking on page 2 at bottom, the URL is:
  [...]/mahara/view/choosetemplate.php?viewoffset=10&setlimit=1&limit=10
  
  Notice that there is no longer the "group=2", thus copy will now not target the group.
  The only workaround I found is to not use the selectors at the bottom of the page, but rather manually add &limit=100 in the URL to display all the available pages and collections.
  
- My Mahara version is: 22.10.0.
+ Mahara version: 22.10.0.
+ OS: Windows 10
+ Browser: Firefox

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

Title:
  When duplicating a portfolio in a group, changing page or number of
  results per page looses goup in URL

Status in Mahara:
  New

Bug description:
  When a page or collection exists in a group, and we want to duplicate
  it to another group, if the number of pages or collections available
  for copy is larger than 10, there are multiple pages available.

  If the page or collection is not displayed in the first page, then we
  can change page at the bottom, or change the number of available
  results in the page.

  But either of these options result in loosing the ?group=XX in URL,
  thus the copy will now not target the group but rather our personal
  page.

  E.g. : before clicking on page 2 at bottom, the URL is:
  [...]/view/choosetemplate.php?searchcollection=1&group=2

  But after clicking on page 2 at bottom, the URL is:
  [...]/mahara/view/choosetemplate.php?viewoffset=10&setlimit=1&limit=10

  Notice that there is no longer the "group=2", thus copy will now not target the group.
  The only workaround I found is to not use the selectors at the bottom of the page, but rather manually add &limit=100 in the URL to display all the available pages and collections.

  Mahara version: 22.10.0.
  OS: Windows 10
  Browser: Firefox

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



Follow ups