Sign-off and verification status not saved to database on copied portfolio
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Robert Lyon | ||
20.10 |
Fix Released
|
High
|
Unassigned | ||
21.04 |
Fix Released
|
High
|
Unassigned | ||
21.10 |
Fix Released
|
High
|
Unassigned | ||
22.04 |
Fix Released
|
High
|
Robert Lyon |
Bug Description
When you copy a portfolio with the sign-off and verification block, the status is not saved to the database unless it's a direct copy of a template portfolio.
To replicate:
1. Allow portfolio completion for the institution.
2. Create a page and add the 'sign-off' block.
3. Add the page to a collection with the portfolio completion active.
4. On the page or the portfolio completion page, click the 'Sign-off' icon.
5. Refresh the page.
Results:
- Expected: The green tick stays.
- Actual: The green tick is visible.
6. Copy the portfolio.
7. Click the 'Sign-off' icon.
8. Refresh the page.
Results:
- Expected: The green tick stays.
- Actual: The green tick is not visible but the red dot is because the row is not actually saved into the database.
Additional scenarios to test:
1. The verification icon should also be clickable.
2. When a template (on the site) is copied, the icons need to be clickable and their status saved.
summary: |
- Sign-off and verificatio nstatus not saved to database on copied + Sign-off and verification status not saved to database on copied portfolio |
description: | updated |
Patch for "main" branch: https:/ /reviews. mahara. org/12483