Issue 114256

Summary: DataPilot from external service saves wrong field information
Product: Calc Reporter: niklas.nebel
Component: save-exportAssignee: oc
Status: CLOSED FIXED QA Contact: issues@sc <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOO330m6   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 111112    

Description niklas.nebel 2010-09-01 13:38:20 UTC
If an external DataPilotSource implementation doesn't allow an orientation for a
dimension, Calc stores the invalid field anyway, so there is wrong information
in the file and an invisible field that prevents drill-down. There's currently
no way for the external implementation to prevent this.

Example scenario: Use ExampleDataPilotSource from the developer's guide, select
"ones" and "value" as row fields, and "value" as data field. The resulting table
shows only "ones" as row field, and double-clicking on a "ones" entry doesn't
open the "Show Detail" dialog. If the file is saved, there's a
table:data-pilot-field with table:source-field-name="value" and
table:orientation="row".
Comment 1 niklas.nebel 2010-09-01 17:26:12 UTC
Fixed in CWS "calc59". If the DataPilotSource implementation forbids an
orientation via the dimension's "Flags" property, it can't be selected in the
layout or detail dialog.
Comment 2 niklas.nebel 2010-09-02 08:51:16 UTC
reassigning to QA for verification
Comment 3 oc 2010-09-03 14:51:53 UTC
verified in internal build cws_calc59