Remove "Task page" and "Assignment portfolio" when not assignment plan

Bug #1850543 reported by Kristina Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Robert Lyon

Bug Description

Currently (19.10RC2), it is not possible to see an assignment portfolio when a plan is put onto a page because the functionality was created to use assignment plans only for personal planning activities but not for putting them onto a page.

Thus, if you attach a portfolio to a plan task, there is no way for a viewer of the page to see it. Thus, we should not show the option to align a portfolio with a task until such times that this feature is created.

There are a few different scenarios:

1. Create template plan as assignment portfolio:
All tasks should show the options for task page and assignment portfolio.

2. Create a plan in a group as assignment portfolio:
This can be done from a template or from scratch in the group. Task page and assignment portfolio options are displayed.

Make sure to set up the group as Controlled (and add a learner to the group as regular group member), and only allow group admins to create and edit content, allow submissions.

3. Copy plan tasks as regular group member into your own account:
As regular group member, select one or more tasks from a plan in a group (that have task and assignment portfolios) and thus copy them into a personal plan. When you enter that personal plan, you should see the task page and assignment portfolio options when you edit the tasks because you could change the assignment portfolio. The task page option is greyed out as the task page is connected to the group and can't be changed by the learner.

When one of the tasks that are copied does not have an assignment portfolio set up, it should still be possible for the learner to see the assignment portfolio option because they can still align a portfolio with it and submit to the group.

When you add additional tasks to a copied plan, ideally, the task page and assignment portfolio options are not displayed as the assignment portfolio can't be submitted to the group via the plan.

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

Patch for "master" branch: https://reviews.mahara.org/10504

Robert Lyon (robertl-9)
Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/10504
Committed: https://git.mahara.org/mahara/mahara/commit/129f6d5f24202cc1203e2f4ca448d37e23554724
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit 129f6d5f24202cc1203e2f4ca448d37e23554724
Author: Robert Lyon <email address hidden>
Date: Wed Oct 30 10:22:44 2019 +1300

Bug 1850543: Hiding the 'template' and 'assignment' fields in tasks

When the plan 'assign tasks' is false

behatnotneeded

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

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

Patch for "19.10_STABLE" branch: https://reviews.mahara.org/10528

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

Reviewed: https://reviews.mahara.org/10528
Committed: https://git.mahara.org/mahara/mahara/commit/f3336c421cf8cac8573526df69632f9012188508
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: 19.10_STABLE

commit f3336c421cf8cac8573526df69632f9012188508
Author: Robert Lyon <email address hidden>
Date: Wed Oct 30 10:22:44 2019 +1300

Bug 1850543: Hiding the 'template' and 'assignment' fields in tasks

When the plan 'assign tasks' is false

behatnotneeded

Change-Id: Idf6c45bd3c07ea7cdc0199dbb9f81b338ed325e4
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 129f6d5f24202cc1203e2f4ca448d37e23554724)

Changed in mahara:
status: In Progress → Fix Committed
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.