Defect #3663

Problem with subversion logentry without date nor author.

Added by Pablo Ruiz over 13 years ago. Updated almost 10 years ago.

Status:Needs feedbackStart date:2009-07-24
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Resolution: Affected version:0.8.4


In certain cases (see a subversion respository might not send an author nor date xml elements as part of a logentry.

In such situations redmine (0.8.4) fails to read any revision below the failing one..

After a bit of debugging.. I made the following modifications to lib/redmine/scm/adapters/subversion_adapter.rb, in order to make this work:

date = logentry.elements['date']
msg = logentry.elements['msg']
revisions <<{:identifier => logentry.attributes['revision'],
:author => (logentry.elements['author'] ? logentry.elements['author'].text : ""),
:time => date ? Time.parse(date.text).localtime : nil,
:message => msg ? logentry.elements['msg'].text : "",
:paths => paths

Related issues

Related to Redmine - Defect #18754: empty svn logentry crashes revision batch reading New


#1 Updated by Daniel Felix almost 10 years ago

  • Status changed from New to Needs feedback

Any news on this issue?
Is anyone able to reproduce this with current trunk?

Best regards,

#2 Updated by Toshi MARUYAMA almost 5 years ago

  • Related to Defect #18754: empty svn logentry crashes revision batch reading added

Also available in: Atom PDF