Issue 36192

Summary: [cws eforms2] crash when delete instanceData in datanavigator
Product: Writer Reporter: marc.neumann
Component: uiAssignee: marc.neumann
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P2 CC: issues
Version: current   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description marc.neumann 2004-10-27 12:00:55 UTC
1. open a new XFORM
2. open the datanavigator
3. select instanceData
4. press DEL key
5. select YES in the delete messages
==>> crash
Comment 1 openoffice 2004-10-27 12:52:33 UTC
dvo: The root element can't be deleted.

XFormsPage::RemoveEntry doesn't check for a parent, and hence crashed. The
delete button is properly disabled, but the function can still be called through
the 'del' key. I've changed the method so it will not try to remove the root
element. Visual feedback is given to the user through the 'delete entry' icon. 
Comment 2 openoffice 2004-11-01 11:38:00 UTC
dvo: reopen for QA.
Comment 3 openoffice 2004-11-01 11:38:46 UTC
dvo->msc: Please test.
Comment 4 marc.neumann 2004-11-01 11:55:23 UTC
Hi,

fixed in cws eforms2

Bye Marc
Comment 5 marc.neumann 2004-11-01 11:55:40 UTC
Hi,

verified in cws eforms2

Bye Marc
Comment 6 marc.neumann 2004-11-25 08:46:05 UTC
Hi,

fixed in current developer build -> close.
The current developer build can be found at
http://download.openoffice.org/680/index.html
Feel free to reopen if this issue is not fixed in the developer build.

Bye Marc