← Back to team overview

mahara-contributors team mailing list archive

[Bug 1396565] Re: Error when adding a Group pages bloc onto a group home page

 

Any other fix would get very complicated.

Even if we fixed the immediate issue: 'get_record_sql found more than one row.'
and allowed the group_get_homepage_view_groupview_block() to return more than one block instance there would be the a subsequent fail of the pagination not working as it won't know which groupviews block to work with.

Normally I'd not be keen to alter people's data on a backport but seeing as:
1) The current state is wrong due to an earlier commit mistake. So this is a regression rather than a change.
2) An alternate fix will be overly complicated (yet temporary once one upgrades to 15.04)
3) The data being merged/retained is boolean choices rather than text string/file/image data so little (if anything) will be lost.
4) The numbers of users this effects will be very small (36 views out of 14050 grouphomepage views on large client site, ie 0.25%)

I'd be happy to use the current fix for 1.10 in this particular instance

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

Title:
  Error when adding a Group pages bloc onto a group home page

Status in Mahara ePortfolio:
  Fix Committed
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 15.04 series:
  Fix Committed

Bug description:
  To replicate on Mahara 15.04dev

  1/ Create a group or go to an already create group
  2/ Edit the home page 
  3/ Add the bloc "Group page"

  You get the error : _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

  Tried on three different platforms with 15.04dev

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


References