Issue 34791 - [cws eforms2] add instance in datanavigator doesn't work correct in new models
Summary: [cws eforms2] add instance in datanavigator doesn't work correct in new models
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: marc.neumann
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-29 13:39 UTC by marc.neumann
Modified: 2013-08-07 14:41 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description marc.neumann 2004-09-29 13:39:29 UTC
1. open a new XML form
2. open the datanavigator
3. create a new model
=> you have an instance1
4. create a new instance with the instance button
==>> now you have a new instance but "Instance1" is gone
Comment 1 openoffice 2004-10-21 16:20:28 UTC
dvo: My fault... The data-navigator calls the XFormsUIHelper1::newModel() method
(as it should), but newModel does not actually create an instance. So when the
user adds an instance to the new model, the data navigator correctly shows it as
the only instance. The solution is to change newModel(..) to autoamtically
create an instance, which it should do anyway so that the user can start working
with the top element right away.

I also fixed some assertions and minor problems that occured when testing that
use case.
Comment 2 openoffice 2004-10-21 16:20:58 UTC
Fixed.
Comment 3 openoffice 2004-11-01 11:42:03 UTC
dvo: reopen for QA.
Comment 4 openoffice 2004-11-01 11:42:42 UTC
dov->msc: Please test.
Comment 5 marc.neumann 2004-11-01 11:52:46 UTC
Hi,

fixed in cws eforms2

Bye Marc
Comment 6 marc.neumann 2004-11-01 11:52:59 UTC
Hi,

verified in cws eforms2

Bye Marc
Comment 7 marc.neumann 2004-11-25 08:49:27 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