#10521: notebook upload of zipped worksheets can't deal with multiple worksheets
with the same name
------------------------+---------------------------------------------------
Reporter: jason | Owner: jason, mpatel, was
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.7.1
Component: notebook | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Jason Grout
Merged: | Dependencies:
------------------------+---------------------------------------------------
Old description:
> When uploading a zip file of worksheets to the notebook, if multiple
> worksheets have the same name, only one of the worksheets is extracted
> (multiple times). This is because the zip extraction code iterates
> through the file *names* instead of zipinfo file *objects* in the zip
> file. The attached patch takes care of this, and fixes uploads of zip
> files containing multiple worksheets having the same name.
>
> This bit me several times today.
New description:
When uploading a zip file of worksheets to the notebook, if multiple
worksheets have the same name, only one of the worksheets is extracted
(multiple times). This is because the zip extraction code iterates
through the file *names* instead of zipinfo file *objects* in the zip
file. The attached patch takes care of this, and fixes uploads of zip
files containing multiple worksheets having the same name.
This bit me several times today.
Apply:
1. [attachment:trac-10521-multiple-file-upload-v2.patch]
--
Comment(by ltw):
I have re-based the patch on {{{sagenb-0.8.14}}} (which is the version
that ships with {{{sage-4.7}}}).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10521#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.