← Back to team overview

mahara-contributors team mailing list archive

[Bug 1500290] A change has been merged

 

Reviewed:  https://reviews.mahara.org/5383
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/46c3a6d6d4c796208d3bd289c1bcbb89a7087398
Submitter: Aaron Wells (aaronw@xxxxxxxxxxxxxxx)
Branch:    master

commit 46c3a6d6d4c796208d3bd289c1bcbb89a7087398
Author: Aaron Wells <aaronw@xxxxxxxxxxxxxxx>
Date:   Mon Sep 28 16:28:08 2015 +1300

Make plugin file search paths back-compatible (Bug 1500290)

Add the old "static" search locations back into the search path
for plugin-related theme files. This will reduce the need to
"update" third-party plugins to work with 15.10.

behatnotneeded

Change-Id: I632003ec05ba78f5c1a4d7f6b2a58fff43296118

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1500290

Title:
  Make plugin file search paths backwards-compatible

Status in Mahara:
  In Progress

Bug description:
  As part of Bug 1465107 (specifically, commit 5d7bdaea24b4d), we
  rearranged some of the search paths for theme files. We added
  "plugintype" to the search path for plugin-related files stored within
  a theme, and we removed "static" from the path for all the things that
  used to be stored under the "static" directory.

  We did this in order to make the organization of core plugins more
  self-evident, but it had the unfortunate side effect of breaking all
  the third-party plugins that hadn't been reorganized to the new
  standard.

  It's pretty easy to fix this. We already search a few different places
  for each file. All we have to do is add the old locations to the
  search path as well. Then the majority of pre-15.10 plugins will
  continue to work seamlessly in 15.10, making this major version change
  easier to handle.

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


References