Bug 47125 - Pivot table with text starting 0 does not display correctly
Summary: Pivot table with text starting 0 does not display correctly
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.3.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-08 23:06 UTC by grofaty
Modified: 2012-12-22 05:04 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Cell A4 in pivot spreadsheet is displaying 10 instead of 010 (9.03 KB, application/vnd.oasis.opendocument.spreadsheet)
2012-03-08 23:06 UTC, grofaty
Details

Note You need to log in before you can comment on or make changes to this bug.
Description grofaty 2012-03-08 23:06:38 UTC
Created attachment 58218 [details]
Cell A4 in pivot spreadsheet is displaying 10 instead of 010

1. Open LibreOffice Calc type into cells: A1: Customer No A2: '010 --> notice I have put the ' character to make it display like text A3: '100 B1: Sells Quantity B2: 1000 B3: 1100
2. Mark cells from A1 to B3.
3. Data | Pivot Table | Create.
4. Current Selection and OK button.
5. Move Customer No to Rows Fields.
6. Move Sells Quantity to Data Fields.
7. Click on OK button. Now data appears in pivot table. Notice in cell A4 there is customer no. "10" displayed instead of 010.
Comment 1 sasha.libreoffice 2012-05-31 02:01:28 UTC
Thanks for bugreport
reproduced in 3.3.4 and 3.5.4 on Fedora 64 bit (Windows not tested)
Cells are shown inside of PivotTable without leading zeros

What is interesting: if we press button "Customer No", then there cells shown with leading zeros
If we change cells format on "Sheet1" to text, and then refresh PivotTable, cells becomes with leading zeros
Comment 2 grofaty 2012-05-31 03:40:00 UTC
Now I have also tested on LibreOffice v3.5.4.2 on Windows XP. Problem persists.
Comment 3 sasha.libreoffice 2012-05-31 03:59:25 UTC
changing version to 3.3.4 as most early reproducible
Comment 4 grofaty 2012-12-21 15:55:06 UTC
I have tested in LibreOffice 3.6.4.3 on Windows XP and I see bug is fixed.

P.S. Bug is fixed when reproducing step-by-step from first post bug report. If document attached in first post is opened there is still wrong displayed, but I thing this is due to the fact pivot table was created with defected LibreOffice version. If new pivot table created then it works fine. I am marking this bug as fixed.
Comment 5 sasha.libreoffice 2012-12-22 05:04:54 UTC
In 3.6.4 on RFR 17 64 bit:
Even with attached document, if we right hand mouse click ->Refresh, Pivot table becomes correct.
We use status WFM if do not know by which exactly patch bug is fixed.