← Back to team overview

mahara-contributors team mailing list archive

[Bug 1964268] [NEW] Sign-off and verificatio nstatus not saved to database on copied portfolio

 

Public bug reported:

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.
3. When a copy of the copied template is made, the status needs to be saved.

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

** Affects: mahara/21.04
     Importance: High
         Status: Confirmed

** Affects: mahara/21.10
     Importance: High
         Status: Confirmed

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

** Also affects: mahara/22.04
   Importance: High
     Assignee: Robert Lyon (robertl-9)
       Status: In Progress

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

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

** Changed in: mahara/21.10
       Status: New => Confirmed

** Changed in: mahara/21.04
       Status: New => Confirmed

** Changed in: mahara/21.10
   Importance: Undecided => High

** Changed in: mahara/21.04
   Importance: Undecided => High

** Changed in: mahara/22.04
    Milestone: None => 22.04.0

** Changed in: mahara/21.10
    Milestone: None => 21.10.2

** Changed in: mahara/21.04
    Milestone: None => 21.04.4

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

Title:
  Sign-off and verificatio nstatus not saved to database on copied
  portfolio

Status in Mahara:
  In Progress
Status in Mahara 21.04 series:
  Confirmed
Status in Mahara 21.10 series:
  Confirmed
Status in Mahara 22.04 series:
  In Progress

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.
  3. When a copy of the copied template is made, the status needs to be saved.

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



Follow ups