← Back to team overview

mahara-contributors team mailing list archive

[Bug 1716083] [NEW] elasticsearch image thumbnail missing when viewing media shared by another

 

Public bug reported:

Scenario: User A shares a page containing an image with User B

When user B searches for all things in Elasticsearch they can see the
page listed under Portfolio tab and can see the image listed under the
Media tab.

They however cannot see the thumbnail of the image.

There is a bit of code missing from the ElasticsearchType_artefact.php
file. The bit of code that checks that we can see the artefact and the
view is there. But the viewid is not passed to the get_icon() function.

This patch will add that missing bit in

** Affects: mahara
     Importance: Medium
     Assignee: Robert Lyon (robertl-9)
         Status: In Progress

** Affects: mahara/17.04
     Importance: Medium
         Status: In Progress

** Affects: mahara/17.10
     Importance: Medium
     Assignee: Robert Lyon (robertl-9)
         Status: In Progress

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

** Changed in: mahara
    Milestone: 17.10.0 => 17.04.4

** Changed in: mahara
    Milestone: 17.04.4 => 17.10.0

** Also affects: mahara/17.04
   Importance: Undecided
       Status: New

** Also affects: mahara/17.10
   Importance: Undecided
       Status: New

** Changed in: mahara/17.04
    Milestone: None => 17.04.4

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

Title:
  elasticsearch image thumbnail missing when viewing media shared by
  another

Status in Mahara:
  In Progress
Status in Mahara 17.04 series:
  In Progress
Status in Mahara 17.10 series:
  In Progress

Bug description:
  Scenario: User A shares a page containing an image with User B

  When user B searches for all things in Elasticsearch they can see the
  page listed under Portfolio tab and can see the image listed under the
  Media tab.

  They however cannot see the thumbnail of the image.

  There is a bit of code missing from the ElasticsearchType_artefact.php
  file. The bit of code that checks that we can see the artefact and the
  view is there. But the viewid is not passed to the get_icon()
  function.

  This patch will add that missing bit in

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


Follow ups