Issue 88531 - Datapilot: New drill-down feature delivers wrong data, when grouped by date
Summary: Datapilot: New drill-down feature delivers wrong data, when grouped by date
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: editing (show other issues)
Version: OOo 2.4.0
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: oc
QA Contact: issues@sc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-21 10:28 UTC by niederbayern
Modified: 2013-08-07 15:15 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Calc document. Perform double-click in cell B19. You will see the bug. (9.88 KB, application/vnd.oasis.opendocument.spreadsheet)
2008-04-21 10:31 UTC, niederbayern
no flags Details
Screenshot. Situation before double-click in cell B19 (56.96 KB, image/png)
2008-04-21 10:35 UTC, niederbayern
no flags Details
Screenshot. Situation after double-click in cell B19. Look at the dates!! (36.40 KB, image/png)
2008-04-21 10:35 UTC, niederbayern
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description niederbayern 2008-04-21 10:28:48 UTC
Introduction:

There is a new feature for datapailot in OOo 2.4.0 ("drill-down"). Double-click
in Datapilot cell provides calculation data of that cell. For more information
about this feature see the following documents:

http://wiki.services.openoffice.org/wiki/New_Features_2.4#Calc
http://www.openoffice.org/issues/show_bug.cgi?id=57030
http://wiki.services.openoffice.org/wiki/Calc/Features/DataPilot_drill-down_on_data_field

Bug description:

(1) Create a datapilot table that is based on some record sets containing a
date-field.

(2) Group the datapilot result using any time-based intervall, for example groub
by months.

(3) Perform a double-click to one of the result cells in the datapilot.

(4) Calc provides the underlying record sets in a new sheet.

Bug: The date-values in this new sheet are incorrect.
Comment 1 niederbayern 2008-04-21 10:31:16 UTC
Created attachment 53079 [details]
Calc document. Perform double-click in cell B19. You will see the bug.
Comment 2 niederbayern 2008-04-21 10:35:00 UTC
Created attachment 53080 [details]
Screenshot. Situation before double-click in cell B19
Comment 3 niederbayern 2008-04-21 10:35:42 UTC
Created attachment 53081 [details]
Screenshot. Situation after double-click in cell B19. Look at the dates!!
Comment 4 stefan.baltzer 2008-04-21 13:03:28 UTC
Confirmed (according to OOo de chat today).
Put regina on CC.
Comment 5 stefan.baltzer 2008-04-21 13:10:02 UTC
Put OC on CC.
Comment 6 kyoshida 2008-04-21 14:11:15 UTC
ah, date handling in data-pilot is a bit tricky beast.  let me take a look at that.
Comment 7 kyoshida 2008-04-21 14:11:50 UTC
accepting the issue.
Comment 8 kyoshida 2008-04-23 05:13:51 UTC
BTW how did you group those dates by month?
Comment 9 niederbayern 2008-04-23 06:22:18 UTC
kohei,

for grouping by month, first make a datapilot without grouping, then click on on
one of the date-cells in the result, then choose Data | Group and Outline |
Group or simply press F12.

Watch it on youtube: http://youtube.com/watch?v=dkBRzLrtqDI
Comment 10 kyoshida 2008-04-23 15:22:20 UTC
Ah!  It wasn't working for me because I was selecting cells then trying to
group.  Your nice video really helped.  Thanks! :-)
Comment 11 kyoshida 2008-04-25 00:29:59 UTC
fixed in koheidatapilot01 cws.
Comment 12 kyoshida 2008-04-25 00:32:07 UTC
The code has changed quite a bit in this area between the version where this bug
was discovered, and the version I had to work on.  In my new code, this date
based grouping was not handled at all, so I needed to implement it to get it to
work properly.
Comment 13 rene 2008-04-25 18:28:38 UTC
set target (to the cws' one)
Comment 14 kyoshida 2008-04-26 23:40:09 UTC
reopen for qa.
Comment 15 kyoshida 2008-04-26 23:40:37 UTC
re-assign to oc for qa verification.
Comment 16 kyoshida 2008-04-30 18:30:05 UTC
setting the status to FIXED
Comment 17 oc 2008-05-14 12:11:34 UTC
verified in internal build cws_koheidatapilot01
Comment 18 oc 2008-09-23 09:31:31 UTC
closed because fix available in builds OOO300_m6 and DEV300_m31