mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #60611
[Bug 1897676] Re: Entire resume block - debug information displayed
Once the patch https://reviews.mahara.org/#/c/11198/ the problem this is
fixing should be solved but having ensure_record_exists() have the
optional flag for strictness is still something good to have in the
system
--
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