← Back to team overview

mahara-contributors team mailing list archive

[Bug 1515826] A patch has been submitted for review

 

Patch for "15.10_STABLE" branch: https://reviews.mahara.org/5759

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

Title:
  Export portfolio as html gives an "error" due to missing views.css
  file

Status in Mahara:
  Fix Committed
Status in Mahara 15.10 series:
  In Progress
Status in Mahara 16.04 series:
  Fix Committed

Bug description:
  $config->version = 2015092910;
  $config->series = '15.10';
  $config->release = '15.10.0';

  DB: Postgres
  OS: Linux

  When exporting a portfolio as HTML, we get the following "error" on
  the screen:

  Could not copy static file '/var/www/demo-mahara-org-prod-
  mahara/releases/20151111220737/theme/views.css'

  htdocs/theme/views.css was removed in commit:
  7bbb9da3d0719e01baf412dac4eb37bf027ebb7e (
  https://git.mahara.org/mahara/mahara/commit/7bbb9da3d0719e01baf412dac4eb37bf027ebb7e
  )

  as it's no longer required. Yet, the export is still requiring it in:

  htdocs/export/html/lib.php::copy_static_files() -

         $filestocopy = array(
             get_config('docroot') . 'theme/views.css' => $staticdir . 'views.css',
         );

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


References