Apache OpenOffice (AOO) Bugzilla – Issue 86791
Problem with draging fields in datapilot after changing sourcerange
Last modified: 2013-08-07 15:14:30 UTC
This problem does only occur in cws_datapilotrange - Open attached bugdoc, select cell D31 and open datapilot (kontextmenu - start). - Press 'More' button to show options - Change 'Selection from to $Sheet2.$A$3:$F$21 via rangechooser - Drag '2006 2007 2008' to the 'Data Area' => one of them could not be draged.
this issue is the reason why the CWS datapilotrange can't be integrated
reassigned to kohei
Please attach the bugdoc mentioned in the bug description! Thanks.
started.
@oc: yea, the bug doc appears to be missing. Could you attach it to the issue? Thanks!
Ah, I sort of reproduced this. I'll attach my test document and steps to reproduce it.
Created attachment 61532 [details] test document
With the attached document opened, do 1) Right-click on the data pilot table and select Start. 2) Click More to expand the dialog. 3) Change the data range to $Sheet2.$A$1:$D$5. At this point, all field buttons have been reset. 4) Drag G1 to Row field. 5) Drag G2 to Row field. But the G2 button does not appear in the Row Field box even after dragging it in. The funny thing is, when you click OK to dismiss the dialog, the G2 is there.
fixed it in datapilotrange cws. The reason for this weird drag-n-drop issue was because the arrays that keep track of each field's members were not flushed properly after the source range change. Once I flushed them, the drag-n-drop started working properly again.
re-assigning to oc for QA.
verified in internal build cws_datapilotrange
Verified in DEV300m56.
Closing. Please note issue #104654