← Back to team overview

mahara-contributors team mailing list archive

[Bug 1897676] A change has been merged

 

Reviewed:  https://reviews.mahara.org/11379
Committed: https://git.mahara.org/mahara/mahara/commit/f97eaaa156b14128b5d5e7edfac3572967dac205
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    20.10_STABLE

commit f97eaaa156b14128b5d5e7edfac3572967dac205
Author: Lisa Seeto <lisaseeto@xxxxxxxxxxxxxxx>
Date:   Tue Oct 13 17:00:25 2020 +1300

Bug 1897676: Entire resume block - debug information displayed

NB: We are ignoring the multiple records found warnings
that are produced as a result of asynch json calls until we can
refactor that part of the code

- add IGNORE_MULTIPLE flag to ensure_record_exists
- remove old param comment

Change-Id: I39548cd157c9c2bfe82450bfddbe33696233a974
Signed-off-by: Lisa Seeto <lisaseeto@xxxxxxxxxxxxxxx>
(cherry picked from commit b433c22bb54731d1c315c82d68a4551ad9164bb7)

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

Title:
  Entire resume block - debug information displayed

Status in Mahara:
  Fix Committed
Status in Mahara 20.10 series:
  Fix Committed

Bug description:
  Environment: cloud instance MYSQL 8.0 PHP7.4
  Browser: Win10 Edge
  Theme: Ocean

  Precondition: account holder has a well populated Résumé

  Steps:
  1. Log in to an account that can create pages
  2. Create a new page titled 'My Résumé' 
  3. Add a 'My entire résumé' block to the page with title 'My Résumé' & Save
  4. Resize the block to fill the page width
  5. Select to display the page

  Expected result: the page displays correctly.
  Actual result: The following error message is displayed after the page title & header but before the entire resume block.  It is displayed 30+ times then underneath all the messages is the block title and its content.  Please see the two attached screen shots; first a screen grab & second a full screen shot pasted

  "[DBG] c1 (lib/dml.php:379) get_record_sql found more than one row. If
  you meant to retrieve more than one record, use get_records_*,
  otherwise check your code or database for inconsistencies"

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


References