Error when deleting individual standard elements in SmartEvidence Editor

Bug #1964282 reported by Dianne Tennent
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Unassigned

Bug Description

Tested on main 22.04dev

Steps to reproduce:
1. Go to the SmartEvidence Editor
2. Copy an existing framework 'Career Readiness'
3. Click 'Delete All' next to Standard elements
4. Click 'Add' to add a new Standard element - 1.2 (Don't enter any info)
5. Delete standard element 1.2
6. Click 'Add' to add a new Standard element

Expected result:
 - new SE increments from existing SE, i.e. 1.1, 1.2 etc

Actual result
 - new SE is the same number as the existing element with the error 'Array must have unique items'

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "main" branch: https://reviews.mahara.org/12484

Changed in mahara:
status: New → Confirmed
milestone: none → 22.04.0
importance: Undecided → High
description: updated
description: updated
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/12484
Committed: https://git.mahara.org/mahara/mahara/commit/91fc16663fbb53b62e8948fc32e60e12ad0db144
Submitter: Robert Lyon (<email address hidden>)
Branch: main

commit 91fc16663fbb53b62e8948fc32e60e12ad0db144
Author: Robert Lyon <email address hidden>
Date: Wed Mar 9 16:13:02 2022 +1300

Bug 1964282: correctly wiring up the SE delete button

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

Robert Lyon (robertl-9)
Changed in mahara:
status: Confirmed → Fix Committed
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.