An error appears when importing an extracted portfolio

Bug #1380434 reported by Jinelle Foley-Barnes on 2014-10-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
High
Robert Lyon
1.10
High
Robert Lyon
1.7
High
Unassigned
1.8
High
Unassigned
1.9
High
Unassigned
15.04
High
Unassigned

Bug Description

Hi,

An error appears when I import an extracted portfolio. This same extracted portfolio has been tested with Aaron Well's Mahara 1.10-STABLE installation and it worked fine.

To replicate the bug, extract a portfolio and try importing it using :

- Mozilla version 32.0.3
-Ubuntu version 14.04
-Postgres version 9.3.5
-Mahara version 1.10-STABLE

Thanks,

Jinelle

Robert Lyon (robertl-9) on 2014-10-13
Changed in mahara:
assignee: nobody → Robert Lyon (robertl-9)
importance: Undecided → High
status: New → In Progress
Robert Lyon (robertl-9) wrote :

Ok, to test this patch you will need to check your browser's installed mimetypes:

For firefox go to Edit -> Preferences -> Applications. Search for 'zip' - if you have a line with ("application/x-zip") in it then you can test this patch.

Jinelle Foley-Barnes (jinelleb) wrote :

Patch tested, and patch successful :)

-Jinelle

Reviewed: https://reviews.mahara.org/3790
Committed: http://gitorious.org/mahara/mahara/commit/cf65df39b0e1cc6d5de02f3130c3790d22712afb
Submitter: Yuliya Bozhko (<email address hidden>)
Branch: master

commit cf65df39b0e1cc6d5de02f3130c3790d22712afb
Author: Robert Lyon <email address hidden>
Date: Tue Oct 14 07:51:34 2014 +1300

Problem extracting leap2a zip file on import (Bug #1380434)

For some zip files for some users the mimetype is being interpreted as
"application/x-zip" (note the quotes are part of the string) so this
fails to map to the valid zip types and so the zip file is not
extracted.

So have trimmed the quote off the string

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

Changed in mahara:
status: In Progress → Fix Committed

Reviewed: https://reviews.mahara.org/3808
Committed: http://gitorious.org/mahara/mahara/commit/3c3b05168791f46cbeec47c1397a6fbef5f005e4
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.7_STABLE

commit 3c3b05168791f46cbeec47c1397a6fbef5f005e4
Author: Robert Lyon <email address hidden>
Date: Tue Oct 14 07:51:34 2014 +1300

Problem extracting leap2a zip file on import (Bug #1380434)

For some zip files for some users the mimetype is being interpreted as
"application/x-zip" (note the quotes are part of the string) so this
fails to map to the valid zip types and so the zip file is not
extracted.

So have trimmed the quote off the string

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

Reviewed: https://reviews.mahara.org/3809
Committed: http://gitorious.org/mahara/mahara/commit/c5a7fc6fbff56fd465c21c8cd0f9a5b8a3100065
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.8_STABLE

commit c5a7fc6fbff56fd465c21c8cd0f9a5b8a3100065
Author: Robert Lyon <email address hidden>
Date: Tue Oct 14 07:51:34 2014 +1300

Problem extracting leap2a zip file on import (Bug #1380434)

For some zip files for some users the mimetype is being interpreted as
"application/x-zip" (note the quotes are part of the string) so this
fails to map to the valid zip types and so the zip file is not
extracted.

So have trimmed the quote off the string

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

Reviewed: https://reviews.mahara.org/3810
Committed: http://gitorious.org/mahara/mahara/commit/f6a842af3f9d2618573233e5a5066bde654fd708
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.9_STABLE

commit f6a842af3f9d2618573233e5a5066bde654fd708
Author: Robert Lyon <email address hidden>
Date: Tue Oct 14 07:51:34 2014 +1300

Problem extracting leap2a zip file on import (Bug #1380434)

For some zip files for some users the mimetype is being interpreted as
"application/x-zip" (note the quotes are part of the string) so this
fails to map to the valid zip types and so the zip file is not
extracted.

So have trimmed the quote off the string

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

Reviewed: https://reviews.mahara.org/3811
Committed: http://gitorious.org/mahara/mahara/commit/2969ecf8a7cd0cd14df23b5c2408c59ffde0781a
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.10_STABLE

commit 2969ecf8a7cd0cd14df23b5c2408c59ffde0781a
Author: Robert Lyon <email address hidden>
Date: Tue Oct 14 07:51:34 2014 +1300

Problem extracting leap2a zip file on import (Bug #1380434)

For some zip files for some users the mimetype is being interpreted as
"application/x-zip" (note the quotes are part of the string) so this
fails to map to the valid zip types and so the zip file is not
extracted.

So have trimmed the quote off the string

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

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