Edgewall Software

Ticket #2949 (closed defect: fixed)

Opened 3 years ago

Last modified 9 months ago

Download fails when file has been moved after last changed revision

Reported by: dominique.prunier@… Owned by: cboos
Priority: highest Milestone: 0.10
Component: version control/browser Version: devel
Severity: normal Keywords:
Cc: dominique.prunier@…

Description

When a file has been moved after its last modification revision, source browser tries to download the last changed revision at the newer location, and then fails.

Attachments

error.zip (154.6 KB) - added by dominique.prunier@… 3 years ago.
Screenshots for the comment about the error

Change History

  Changed 3 years ago by anonymous

  • priority changed from high to highest
  • severity changed from major to blocker

  Changed 3 years ago by cboos

  • owner changed from jonas to cboos
  • severity changed from blocker to normal

Hm, it seems to work for me... Can you provide some detailed instructions about how to reproduce the issue? Like:

  • the exact operation you have to do in the last two changesets (for example, I did a modification on a trunk/UPGRADE file, commit, then renamed trunk/UPGRADE to trunk/UPGRADED)
  • the exact action in the Trac Browser (simply going through the browser and clicking on the UPGRADED file entry worked for me)

  Changed 3 years ago by dominique.prunier@…

  • cc dominique.prunier@… added

I think i found the problem, it is kinda hard to reproduce from a sample repository. I don't know if it is an illegal state of my repository (there were some svnadmin load operaration involded, maybe it comes from there) or a problem in trac.

What happens is that in the file listing, it says the revision is 402 (which is the last changed revision BUT at the old location). When i select file from file listing, i get revision 402 but at the wrong place, then the error. However, if i select revision 402 from history, it works since it look for 402 at the correct location.

Changed 3 years ago by dominique.prunier@…

Screenshots for the comment about the error

follow-up: ↓ 6   Changed 3 years ago by cboos

  • status changed from new to assigned
  • milestone set to 0.10

Sorry for all the trouble, actually the issue was quite simple to reproduce. Will be fixed shortly...

  Changed 3 years ago by cboos

  • status changed from assigned to closed
  • resolution set to fixed

This should work now in r3099.

in reply to: ↑ 4   Changed 17 months ago by anonymous

  • keywords File added
  • status changed from closed to reopened
  • resolution fixed deleted

Replying to cboos:

Sorry for all the trouble, actually the issue was quite simple to reproduce. Will be fixed shortly...

  Changed 17 months ago by eblot

  • status changed from reopened to closed
  • resolution set to fixed

Do not reopen a ticket without providing details.

  Changed 17 months ago by eblot

  • keywords File removed

Add/Change #2949 (Download fails when file has been moved after last changed revision)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cboos. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.