Can't browse past revision if directory deleted

Bug #520208 reported by Matt Giuca
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IVLE
Triaged
Medium
Unassigned

Bug Description

Given a directory which is versioned (e.g., http://ivle.localhost/files/studenta/ivle-102/mywork, in the sample data), delete the versioned directory (mywork). Then browse to a past revision of the directory (http://ivle.localhost/files/studenta/ivle-102/mywork?r=6).

"Error: Revision not found or file not found in revision 6."

This isn't true -- the file still exists in revision 6 even though it is presently deleted.

Note that this is an issue for submission verification -- if a student deletes their directory they will not be able to verify the submission of a past revision.

Tags: filebrowser
Matt Giuca (mgiuca)
tags: added: filebrowser
Revision history for this message
Matt Giuca (mgiuca) wrote :

There are actually 3 separate cases here:
- Delete the entire workspace (e.g., delete mywork, as above) and try to see the history there. It's debatable whether this is even a bug, because you've deleted the checkout. We can't tell what repository you're in (though technically we could find out).
- Delete a subdirectory of a workspace, and view its history. This should work, but doesn't.
- Delete a file, and view its history. This actually does work.

So it's just the second case which is an issue.

Revision history for this message
William Grant (wgrant) wrote :

The actual error is "X-IVLE-Error-Message: '/home/studenta/ivle-102/group1/spam' is not a working copy
'/home/studenta/ivle-102/group1/spam' does not exist".

I do not have any ideas on how to fix this.

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.