Defect #12513

Grouping of issues by custom fields not correct in PDF export

Added by Chrisitian Noack almost 5 years ago. Updated almost 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:PDF export
Target version:2.1.5
Resolution:Fixed Affected version:2.1.4

Description

If you group issues by a custom field the index shows correctly in HTML. In PDF issues belonging to the same group value are not grouped (excpet those who have a nil value in the group field).

This error occurs in 2.1.2 and newer versions. I have a fix for that, you find my patch in the attachments.

Best regards,

Christian

fix_pdf_export.diff Magnifier - patch file for pdf group error (919 Bytes) Chrisitian Noack, 2012-12-05 14:54

pdf.patch Magnifier - Use this patch!! (837 Bytes) Chrisitian Noack, 2012-12-05 15:10


Related issues

Duplicated by Redmine - Defect #11285: Problem with PDF export if a custom field is used to grou... Closed

Associated revisions

Revision 10956
Added by Jean-Philippe Lang almost 5 years ago

Fixed that issues grouped by custom field is broken in PDF export (#12513).

Revision 11003
Added by Jean-Philippe Lang almost 5 years ago

Merged r10956 from trunk (#12513).

Revision 11004
Added by Jean-Philippe Lang almost 5 years ago

Merged r10956 from trunk (#12513).

History

#1 Updated by Chrisitian Noack almost 5 years ago

Please include this (or another) solution to coming versions of redmine. Who sets the status of this issue to resolved? Me? Or will it be resolved when it's include in the HEAD of the redmine development?

#2 Updated by Chrisitian Noack almost 5 years ago

This first attached file fix_pdf_export.diff comes from git and may not be usable for you. Please use the second one (pdf.patch). You can install it this way:

  • cd to the folder lib/redmine/export
  • patch < pdf.patch

#3 Updated by Jean-Philippe Lang almost 5 years ago

  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version set to 2.1.5
  • Resolution set to Fixed

Chrisitian Noack wrote:

This first attached file fix_pdf_export.diff comes from git and may not be usable for you.

Oh thanks, but a git diff is still a diff :-)

Problem fixed in r10956. Thanks for pointing this out.

#4 Updated by Jean-Philippe Lang almost 5 years ago

  • Status changed from Resolved to Closed

Merged in 2.1 and 2.2.

Also available in: Atom PDF