Subversion export command should include file extension

Bug #608040 reported by Matt Giuca
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IVLE
Fix Released
Medium
Matt Giuca

Bug Description

Currently, ivle.database.ProjectSubmission.get_svn_export_command may return a command like this:

svn export --username lecturer -r3 'http://svn.ivle.localhost/users/studenta/ivle-102/phase1.html' studenta

For directory submissions, this is fine, but for file submissions, this will create a file with no file extension. In the above example, this creates a file called "studenta" which is an HTML document.

get_svn_export_command should be fixed so it preserves the file extension of the submission path. In the above example, it should return:

svn export --username lecturer -r3 'http://svn.ivle.localhost/users/studenta/ivle-102/phase1.html' studenta.html

Related branches

Revision history for this message
Matt Giuca (mgiuca) wrote :

I have added the ".html" to the demonstrated output in tour of IVLE in expectation of this bug being completed.

Matt Giuca (mgiuca)
Changed in ivle:
assignee: nobody → Matt Giuca (mgiuca)
Revision history for this message
Matt Giuca (mgiuca) wrote :

Fixed in trunk r1828.

Changed in ivle:
status: Triaged → Fix Committed
William Grant (wgrant)
Changed in ivle:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.