Some elasticsearch artefact mapping is missing on install

Bug #1957712 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Unassigned

Bug Description

In the htdocs/search/elasticsearch/elasticsearchartefacttypesmap.txt file we are missing the options for peerassessment and userroles

Tags: search
Revision history for this message
Robert Lyon (robertl-9) wrote :

Will wait to look into this after elasticsearch 7 stuff is finished and will need to fix for both elasticsearch 6 and 7.

Changed in mahara:
importance: Undecided → Low
milestone: none → 22.04.0
status: New → Confirmed
Robert Lyon (robertl-9)
summary: - Some elasticsearch artefact mapping is misisng on install
+ Some elasticsearch artefact mapping is missing on install
tags: added: search
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review
Revision history for this message
Gold (gold.catalyst) wrote :

To test for ES7:

To replicate the bit needed to be tested for ES7 is to have 2 people A and B, A creates a page and puts a peer assessment block on it, then shares the page to person B as a 'peer', person B makes a peer assessment on the block (use a word that will be unique in your searching - I used 'sausage')
re-index the search.

Then as A search for the word see the record.

Then as B search for the word see the record.

Currently only A could see the record, but B should too as they can see the page and wrote the entry.

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/c/mahara/+/12589
Committed: https://git.mahara.org/mahara/mahara/commit/335fcfbbb44ba3ab16c2b6d65387993ea242557c
Submitter: "Robert Lyon <email address hidden>"
Branch: main

commit 335fcfbbb44ba3ab16c2b6d65387993ea242557c
Author: Robert Lyon <email address hidden>
Date: Tue Apr 12 08:05:47 2022 +1200

Bug 1957712: Adding peerassessment to ES5 artefactmap

And getting it to idex correct access rules

Also fixing issue with ES5 and indexing blocks

Change-Id: Id157ebad05c8cfe85eac88676fc2ccf2b777dfbd
Signed-off-by: Robert Lyon <email address hidden>

Robert Lyon (robertl-9)
Changed in mahara:
status: Confirmed → Fix Committed
importance: Low → Medium
Gold (gold.catalyst)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.