Minor Bugs found in 15.04

Bug #1425424 reported by Ghada El-Zoghbi on 2015-02-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Low
Ghada El-Zoghbi

Bug Description

Mahara: 15.04Dev

There are a few issues found so far:

1. language string for Note - title1 - is causing issies with the admin/stats/pages. it's expecting 'title' but the lang file has 'title1'.

2. language string for Resume - title1 - causing same issue as one above.

3. should_ajaxify() needs to be set to 'false' for blocktypes: text and note. In the preview of the pages in the export (portfolio/export/Just some of my pages -> preview a page with a note and/or text), they're not loading and just spin.

4. export of html files - getting error:

[WAR] ed (lib/file.php:816) dir(/var/www/maharacode/mahara/htdocs/artefact//artefact/file/export/html/static/): failed to open dir: No such file or directory
Call stack (most recent first):

    log_message("dir(/var/www/maharacode/mahara/htdocs/artefact//ar...", 8, true, true, "/var/www/maharacode/mahara/htdocs/lib/file.php", 816) at /var/www/maharacode/mahara/htdocs/lib/errors.php:441
    error(2, "dir(/var/www/maharacode/mahara/htdocs/artefact//ar...", "/var/www/maharacode/mahara/htdocs/lib/file.php", 816, array(size 2)) at Unknown:0
    dir("/var/www/maharacode/mahara/htdocs/artefact//artefa...") at /var/www/maharacode/mahara/htdocs/lib/file.php:816
    copyr("/var/www/maharacode/mahara/htdocs/artefact//artefa...", "/var/lib/sitedata/mahara-site-mahara/export/1/1424...") at /var/www/maharacode/mahara/htdocs/export/html/lib.php:507
    PluginExportHtml->copy_static_files() at /var/www/maharacode/mahara/htdocs/export/html/lib.php:205
    PluginExportHtml->export() at /var/www/maharacode/mahara/htdocs/export/download.php:98

Changed in mahara:
assignee: nobody → Ghada El-Zoghbi (ghada-z)
Changed in mahara:
status: New → In Progress
milestone: none → 15.04.0
Robert Lyon (robertl-9) wrote :

I've removed points 3 and 4 from the patch as there were patches for fixing these things already:

https://reviews.mahara.org/#/c/4302/
https://reviews.mahara.org/#/c/4303/

also those patches deal with fixing the problems in a more robust way

Reviewed: https://reviews.mahara.org/4325
Committed: http://gitorious.org/mahara/mahara/commit/daf99dabdb42552d49306ac6093d4aba98f0bcf4
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit daf99dabdb42552d49306ac6093d4aba98f0bcf4
Author: Ghada El-Zoghbi <email address hidden>
Date: Wed Feb 25 18:03:33 2015 +1100

bug1425424 - Fix bugs for:

1. Note blocktype: lang string 'title1' is causing issues with the
admin/stats/pages. It is expecting 'title'.

2. Resume blocktype: same as above.

Change-Id: I4967d13405031303d25e6728baaccb9eb4d0443f

Robert Lyon (robertl-9) on 2015-02-27
Changed in mahara:
status: In Progress → Fix Committed
importance: Undecided → Low
Robert Lyon (robertl-9) on 2015-04-17
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