Hide the Portfolio -> Import tab if no import plugins are enabled

Bug #1421022 reported by Aaron Wells on 2015-02-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Medium
Robert Lyon

Bug Description

The "Portfolio -> Skins" tab is hidden if skins aren't enabled.

The "Portfolio -> Export" tab is hidden if you disable all export methods.

But if you disable all import plugins, the "Portfolio -> Import" tab is still displayed, and it takes you to a page that says "The site administrator did not enable the import plugin. Therefore, you cannot use it. "

We should look at how we're doing this for the Export plugins and copy that logic for the Import plugins.

Robert Lyon (robertl-9) on 2015-04-17
Changed in mahara:
milestone: 15.04.0 → 15.04.1
Aaron Wells (u-aaronw) on 2015-04-21
Changed in mahara:
milestone: 15.04.1 → 15.10.0
Aaron Wells (u-aaronw) on 2015-10-23
Changed in mahara:
milestone: 15.10.0 → 16.04.0
Aaron Wells (u-aaronw) on 2016-04-28
Changed in mahara:
milestone: 16.04.0 → 16.10.0
Robert Lyon (robertl-9) on 2016-10-20
Changed in mahara:
milestone: 16.10.0 → 16.10.1
Robert Lyon (robertl-9) on 2016-10-21
Changed in mahara:
milestone: 16.10.1 → 17.04.0
Robert Lyon (robertl-9) on 2017-03-29
Changed in mahara:
assignee: Aaron Wells (u-aaronw) → nobody
assignee: nobody → Robert Lyon (robertl-9)
status: In Progress → Confirmed
importance: Low → Medium
Robert Lyon (robertl-9) on 2017-03-30
Changed in mahara:
status: Confirmed → In Progress

Reviewed: https://reviews.mahara.org/7582
Committed: https://git.mahara.org/mahara/mahara/commit/f2d4bf133da11897a6e4a17ffad124ff1c1b117a
Submitter: Aaron Wells (<email address hidden>)
Branch: master

commit f2d4bf133da11897a6e4a17ffad124ff1c1b117a
Author: Robert Lyon <email address hidden>
Date: Thu Mar 30 13:53:12 2017 +1300

Bug 1421022: Hide import link when plugins disabled

Note: you'll need to clear cache (or disable/enable a plugin)
for the change to menu to appear

behatnotneeded

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

Robert Lyon (robertl-9) on 2017-03-31
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9) on 2017-04-27
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers