ditz html not work with release containing "/"

Bug #819927 reported by Xan on 2011-08-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ditz (Ubuntu)

Bug Description

I create a ditz project with track issues separately and one ticket. When I run

ditz html

I receive the following error:

$ ditz html
/usr/lib/ruby/1.8/ditz/views.rb:100:in `initialize': No such file or directory - html/release-sondino/estratosferino.html (Errno::ENOENT)
 from /usr/lib/ruby/1.8/ditz/views.rb:100:in `open'
 from /usr/lib/ruby/1.8/ditz/views.rb:100:in `render_all'
 from /usr/lib/ruby/1.8/ditz/views.rb:97:in `each'
 from /usr/lib/ruby/1.8/ditz/views.rb:97:in `render_all'
 from /usr/lib/ruby/1.8/ditz/operator.rb:503:in `html'
 from /usr/lib/ruby/1.8/ditz/operator.rb:118:in `send'
 from /usr/lib/ruby/1.8/ditz/operator.rb:118:in `do'
 from /usr/bin/ditz:142

I use natty package.

I include my bug repository in ditz.

Thanks in advance,

Xan (dxpublica) wrote :
Xan (dxpublica) wrote :

I know why ditz fail: if someone adds a release with slash "/", then it fails:

ditz add-release
Name: onename/othername
Comments (ctrl-d, ., or /stop to stop, /edit to edit, /reset to reset):
> bla bla
> .

ditz html


if we substitute the name in bugs/project.yaml without slash, then all is ok.

Xan (dxpublica) wrote :

This bug is not shown in the list of bugs: http://ditz.rubyforge.org/ditz/release-0.6.html

Xan (dxpublica) on 2011-08-02
summary: - html options not works in ocasions
+ ditz html not work with release containing "/"
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers