Defect #13630
closedPDF export generates the issue id twice
0%
Description
The pdf export generates the issue id twice:
I added a patch that fixes this bug.
Files
Related issues
Updated by Etienne Massip over 11 years ago
- Status changed from New to Confirmed
- Target version set to 2.3.1
Regression.
Not sure the patch is complete?
Updated by F Schroedter over 11 years ago
- File pdf.rb.2.patch pdf.rb.2.patch added
This patch should be complete now. It also includes some code improvements: .inject(0) {|s,v| s += v}
is replaced by .inject(:+)
Updated by Etienne Massip over 11 years ago
F Schroedter wrote:
This patch should be complete now. It also includes some code improvements:
.inject(0) {|s,v| s += v}
is replaced by.inject(:+)
Looks fine. What Ruby version did you test it with, please?
Updated by F Schroedter over 11 years ago
Tested on ruby 1.9.2 and 1.9.3. The code improvement should also work on 1.8.7: http://stackoverflow.com/questions/1538789/how-to-sum-array-members-in-ruby
Updated by Etienne Massip over 11 years ago
Looks like .inject(0) {|s,w| s += w}
should be replaced by .inject(0, :+)
rather than .inject(:+)
?
Updated by Etienne Massip over 11 years ago
- Status changed from Confirmed to Resolved
- Resolution set to Fixed
Fixed with r11693.
Updated by Etienne Massip over 11 years ago
- Status changed from Resolved to Closed
Merged from trunk.