← Back to team overview

mahara-contributors team mailing list archive

[Bug 2002446] Re: Fix for CurlFactory.php and PHP

 

To test/verify this stand up a Mahara instance with Elasticsearch 6 as
the search engine.

Then index and search will use this library.

However...

The library is invoked via make_client() in
htdocs/search/elasticsearch/lib.php[1]

The updates for this are only triggered if ['client']['verify'] or
['client']['decode_content'] are passed in and setConnectionParams()
doesn't appear to do that.  Having said that, this may be modified in
later areas but I've been unable to locate where that may be happening.

[1]
https://git.mahara.org/mahara/mahara/-/blob/main/htdocs/search/elasticsearch/lib.php#L1188

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/2002446

Title:
  Fix for CurlFactory.php and PHP

Status in Mahara:
  In Progress

Bug description:
  The syntax for continue in a switch within a loop is incorrect

  see
  https://github.com/guzzle/RingPHP/commit/80d4890f0770a67ab27d839df9db7f04268d0eb7

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



References