You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2014/10/09 10:58:33 UTC

[Bug 57071] New: addColumnLabel works only 2 times

https://issues.apache.org/bugzilla/show_bug.cgi?id=57071

            Bug ID: 57071
           Summary: addColumnLabel works only 2 times
           Product: POI
           Version: 3.11-dev
          Hardware: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: jakob.mandalka@googlemail.com

If I add more than 2 ColumnLabel fields to my Pivot, the Excel which will be
created is not valid anymore.

Just 2 column labels are fine, if you need more you cant add them.

Example:

pivotTable.addColumnLabel(DataConsolidateFunction.SUM, 4);
pivotTable.addColumnLabel(DataConsolidateFunction.SUM, 5);
pivotTable.addColumnLabel(DataConsolidateFunction.COUNT, 7);
pivotTable.addColumnLabel(DataConsolidateFunction.COUNT, 8);

Does not work.

If you pick just 2 of the, it works.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 57071] addColumnLabel works only 2 times

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57071

Kamil Linek <it...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |itprrr@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 57071] addColumnLabel works only 2 times

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57071

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 57071] [PATCH] addColumnLabel works only 2 times

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57071

Nick Burch <ap...@gagravarr.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable
            Summary|addColumnLabel works only 2 |[PATCH] addColumnLabel
                   |times                       |works only 2 times

--- Comment #2 from Nick Burch <ap...@gagravarr.org> ---
Thanks for that Kamil!

Any chance of a small unit test to go with the patch? That'll let us verify
that the fix has worked, as well as ensuring it stays fixed into the future!

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 57071] [PATCH] addColumnLabel works only 2 times

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57071

Nick Burch <ap...@gagravarr.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Nick Burch <ap...@gagravarr.org> ---
Thanks, patch and test applied in r1647088.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 57071] addColumnLabel works only 2 times

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57071

--- Comment #1 from Kamil Linek <it...@gmail.com> ---
Created attachment 32310
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=32310&action=edit
Fix for bug 57071

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 57071] [PATCH] addColumnLabel works only 2 times

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57071

--- Comment #3 from Kamil Linek <it...@gmail.com> ---
Created attachment 32312
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=32312&action=edit
unit tests to the patch

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org