Issue #6280 has been updated by James Turnbull.

Target version set to 2.6.x
Affected Puppet version deleted (2.6.5rc1)


----------------------------------------
Bug #6280: puppetdoc chokes on new concat strings
https://projects.puppetlabs.com/issues/6280

Author: Brice Figureau
Status: Available In Testing Branch
Priority: Normal
Assignee: Brice Figureau
Category: documentation
Target version: 2.6.x
Affected Puppet version: 
Keywords: 
Branch: https://github.com/masterzen/puppet/tree/tickets/2.6/5720


The following manifests:
<pre>
  class test {
     include "test::$operatingsystem"
  }
</pre>

produces the following stacktrace:
<pre>
/opt/local/lib/ruby/1.8/cgi.rb:362:in `escapeHTML'
/opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:419:in 
`potentially_referenced_list'
/opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:396:in `each'
/opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:396:in 
`potentially_referenced_list'
/opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:382:in 
`build_include_list'
/opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:657:in `value_hash'
/Users/brice/devl/puppet/lib/puppet/util/rdoc/generators/puppet_generator.rb:396:in
 `value_hash'
/opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:637:in `write_on'
/opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:1296:in `gen_into'
/opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:1296:in `open'
/opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:1296:in `gen_into'
/opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:1292:in `each'
/opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:1292:in `gen_into'
/opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:1280:in 
`generate_html'
/Users/brice/devl/puppet/lib/puppet/util/rdoc/generators/puppet_generator.rb:70:in
 `generate_html'
/opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:1200:in `generate'
/opt/local/lib/ruby/1.8/rdoc/rdoc.rb:284:in `document'
/Users/brice/devl/puppet/lib/puppet/util/rdoc.rb:36:in `rdoc'
/Users/brice/devl/puppet/lib/puppet/application/doc.rb:85:in `rdoc'
/Users/brice/devl/puppet/lib/puppet/application/doc.rb:59:in `send'
/Users/brice/devl/puppet/lib/puppet/application/doc.rb:59:in `run_command'
/Users/brice/devl/puppet/lib/puppet/application.rb:304:in `run'
/Users/brice/devl/puppet/lib/puppet/application.rb:410:in `exit_on_fail'
/Users/brice/devl/puppet/lib/puppet/application.rb:304:in `run'
bin/puppetdoc:4
Could not generate documentation: private method `gsub' called for 
#<Array:0x1961ff8>
</pre>

I'm finalizing a patch :)



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to