Public bug reported:

There is a sql error when trying to import a Leap2A file on a site with
elasticsearch

to replicate 
set elastic search to include all artefact types in the index
import a Leap2A file with views and a few artefacts

an error similar to this is displayed 
 Failed to get a recordset: postgres8 error: [-1: ERROR:  bind message supplies 
2 parameters, but prepared statement "" requires 1] in adodb_throw(SELECT 
va.view FROM "view_artefact" va WHERE va.artefact = ?, Array)Command was: 
SELECT va.view FROM "view_artefact" va WHERE va.artefact = ? and values was 
(0:2019-10-2515:23:25,1:1145)

** Affects: mahara
     Importance: Undecided
         Status: Confirmed

** Changed in: mahara
    Milestone: None => 19.10.0

** Changed in: mahara
       Status: New => Confirmed

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

Title:
  sql error: importing leap2A when using elasticsearch index

Status in Mahara:
  Confirmed

Bug description:
  There is a sql error when trying to import a Leap2A file on a site
  with elasticsearch

  to replicate 
  set elastic search to include all artefact types in the index
  import a Leap2A file with views and a few artefacts

  an error similar to this is displayed 
   Failed to get a recordset: postgres8 error: [-1: ERROR:  bind message 
supplies 2 parameters, but prepared statement "" requires 1] in 
adodb_throw(SELECT va.view FROM "view_artefact" va WHERE va.artefact = ?, 
Array)Command was: SELECT va.view FROM "view_artefact" va WHERE va.artefact = ? 
and values was (0:2019-10-2515:23:25,1:1145)

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to