Public bug reported:

While using the page editor and inserting a note and using the "Use
content from another note" shows a list of notes that could be used for
this, with a pagination underneath. When this pagination shows more then
one page, it is not possible to select another page than the first. If
one tries to do that, the list changes to "No results found" without
pagination. It is probably easier understood with the screenshots.

The server logs output the following when trying to access the second
page:

[WAR] 93 (lib/view.php:3416) Object of class stdClass could not be converted to 
int, referer: https://mahara.uni-koblenz.de/view/blocks.php?id=11254
Call stack (most recent first):, referer: 
https://mahara.uni-koblenz.de/view/blocks.php?id=11254
  * log_message(string(size 54), integer, true, true, string(size 21), integer) 
at /var/www/lib/errors.php:521, referer: 
https://mahara.uni-koblenz.de/view/blocks.php?id=11254
  * error(integer, string(size 54), string(size 21), integer, array(size 14)) 
at /var/www/lib/view.php:3416, referer: 
https://mahara.uni-koblenz.de/view/blocks.php?id=11254
  * View::get_artefactchooser_artefacts(array(size 17), object(LiveUser), 
object(stdClass), null) at /var/www/lib/view.php:3181, referer: 
https://mahara.uni-koblenz.de/view/blocks.php?id=11254
  * View::build_artefactchooser_data(array(size 16), object(stdClass), null) at 
/var/www/view/artefactchooser.json.php:26, referer: 
https://mahara.uni-koblenz.de/view/blocks.php?id=11254
, referer: https://mahara.uni-koblenz.de/view/blocks.php?id=11254

** Affects: mahara
     Importance: Undecided
         Status: New

** Attachment added: "pagination_error.png"
   
https://bugs.launchpad.net/bugs/1636850/+attachment/4767582/+files/pagination_error.png

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1636850

Title:
  The pagination in the notes dialog while editing a page does not leave
  the first page

Status in Mahara:
  New

Bug description:
  While using the page editor and inserting a note and using the "Use
  content from another note" shows a list of notes that could be used
  for this, with a pagination underneath. When this pagination shows
  more then one page, it is not possible to select another page than the
  first. If one tries to do that, the list changes to "No results found"
  without pagination. It is probably easier understood with the
  screenshots.

  The server logs output the following when trying to access the second
  page:

  [WAR] 93 (lib/view.php:3416) Object of class stdClass could not be converted 
to int, referer: https://mahara.uni-koblenz.de/view/blocks.php?id=11254
  Call stack (most recent first):, referer: 
https://mahara.uni-koblenz.de/view/blocks.php?id=11254
    * log_message(string(size 54), integer, true, true, string(size 21), 
integer) at /var/www/lib/errors.php:521, referer: 
https://mahara.uni-koblenz.de/view/blocks.php?id=11254
    * error(integer, string(size 54), string(size 21), integer, array(size 14)) 
at /var/www/lib/view.php:3416, referer: 
https://mahara.uni-koblenz.de/view/blocks.php?id=11254
    * View::get_artefactchooser_artefacts(array(size 17), object(LiveUser), 
object(stdClass), null) at /var/www/lib/view.php:3181, referer: 
https://mahara.uni-koblenz.de/view/blocks.php?id=11254
    * View::build_artefactchooser_data(array(size 16), object(stdClass), null) 
at /var/www/view/artefactchooser.json.php:26, referer: 
https://mahara.uni-koblenz.de/view/blocks.php?id=11254
  , referer: https://mahara.uni-koblenz.de/view/blocks.php?id=11254

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1636850/+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

Reply via email to