Issue 116829

Summary: Grid control model : no consistency check of row data/column number
Product: App Dev Reporter: bmarcelly <marcelly.bernard>
Component: apiAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Grid does not show if 4 columns are declared none

Description bmarcelly 2011-02-06 07:51:57 UTC
Create a grid control in a dialog.

If the control model is inserted in the dialog model, no exception is raised if
the number of items per row does not match the number of columns.
The dialog displays without error, but the grid does not appear in the dialog
window, which is very puzzling. See next attachment.

If the control is added to the dialog (instead of adding model to model) then 
exception GridInvalidDataException is raised, and the programmer immediately
understands its error. The same should be done at model insertion.
Comment 1 bmarcelly 2011-02-06 07:53:13 UTC
Created attachment 75776 [details]
Grid does not show if 4 columns are declared
Comment 2 Marcus 2017-05-20 11:27:42 UTC
Reset assigne to the default "issues@openoffice.apache.org".