← Back to team overview

mahara-contributors team mailing list archive

[Bug 1784762] A change has been merged

 

Reviewed:  https://reviews.mahara.org/9035
Committed: https://git.mahara.org/mahara/mahara/commit/55b7bef0231ed448cf241976674660c80d77aa89
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 55b7bef0231ed448cf241976674660c80d77aa89
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Wed Aug 1 13:55:13 2018 +1200

Bug 1784762: Need to typecast tag results when using another language

To test:
1) Site on latest master - using postgres
2) Have installed a lang pack
3) On homepage when logged out select language from dropdown
4) Login

before: errors
after: no errors

behatnotneeded

Change-Id: I2f61a9c319c98335749aa5e628e4a378c3cdc23e
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

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

Title:
  Login error when using a different language

Status in Mahara:
  Fix Committed

Bug description:
  In master we can get this error:
  [WAR] 10 (lib/errors.php:859) Failed to get a recordset: postgres8 error: [-1: ERROR:  operator does not exist: character varying = bigint
  LINE 1: ...  $2 AND resourcetype = 'artefact' AND resourceid IN (SELECT...

  To get this error, you need to have:
  1) Site on latest master - using postgres
  2) Have installed a language pack or 2
  3) On homepage when logged out select language from dropdown and press the 'change' button
  4) Login

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


References