Issue 77258 - [cws oj14] Copy'n'Paste of forms/reports broken
Summary: [cws oj14] Copy'n'Paste of forms/reports broken
Status: CLOSED FIXED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: recent-trunk
Hardware: All Windows XP
: P3 Trivial (vote)
Target Milestone: OOo 2.3
Assignee: marc.neumann
QA Contact: issues@dba
URL:
Keywords: oooqa, regression
Depends on:
Blocks:
 
Reported: 2007-05-11 21:24 UTC by drewjensen.inbox
Modified: 2007-08-19 05:01 UTC (History)
1 user (show)

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


Attachments
original base file creaed with 2.3m_211 (59.70 KB, application/vnd.sun.xml.base)
2007-05-11 21:24 UTC, drewjensen.inbox
no flags Details
Copy of base file with Report Designer created report Designer_1 (64.12 KB, application/vnd.sun.xml.base)
2007-05-11 21:25 UTC, drewjensen.inbox
no flags Details
document to reproduce the bug case (8.51 KB, application/vnd.sun.xml.base)
2007-05-19 22:41 UTC, Frank Schönheit
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description drewjensen.inbox 2007-05-11 21:24:00 UTC
Steps to reproduce:

Download and open the attached file, ExerciseLog_orig.odb.
Download and open the attached file, ExerciseLog_RPT.odb.

Select the Reports view in both Base windows.

Drag and drop the report, Designer_1, from the window ExerciseLog_RPT to
ExerciseLog_orig.

Right click on the report Designer_1 in the window ExerciseLog and select edit.

A Writer window is opened in read / write mode.

Close the writer file.

Double click on the report Designer_1 in the window ExerciseLog_orig.

A Writer window is opened in read only mode.

Copy and Paste acts the same way as drag and drop, the embedded file Designer_1
in ExerciseLog_orig is no longer recognized as a Report Designer managed file.
Comment 1 drewjensen.inbox 2007-05-11 21:24:57 UTC
Created attachment 45057 [details]
original base file creaed with 2.3m_211
Comment 2 drewjensen.inbox 2007-05-11 21:25:36 UTC
Created attachment 45058 [details]
Copy of base file with Report Designer created report Designer_1
Comment 3 drewjensen.inbox 2007-05-11 21:28:15 UTC
set keywords new_implementation and oooqa
Comment 4 drewjensen.inbox 2007-05-12 03:41:49 UTC
I find that copy and paste of a report designer file within the same database
also appears to remove the report information - or - losses it's connection to
the report designer.

Adjusted summary to match.
Comment 5 Frank Schönheit 2007-05-12 11:50:04 UTC
targeting to OOo 2.x
Comment 6 marc.neumann 2007-05-18 12:56:34 UTC
reassign to oj
Comment 7 drewjensen.inbox 2007-05-19 18:10:40 UTC
Another scenario

Create report, create folder in reports section, drag report to new folder -
report information lost.

Not sure if this should be a separate issue that depends on this one?
Comment 8 Frank Schönheit 2007-05-19 21:31:27 UTC
resetting target. In opposite to what has been announced, the iTeam decided to use 

- "not determined" when the iTeam had a look at the issue, but decided it is no
showstopper and no "should fix" for the first release

- "no target" when the issue has not been looked at by the iTeam
Comment 9 Frank Schönheit 2007-05-19 22:14:47 UTC
I can reproduce the various scenarios described here (and more: for instance,
close the target DB, then try to open the report in the source DB which you just
copied to the clipboard: this fails completely, until you close and re-open the DB).

It seems that internally, all issues have the same origin: when pasting, the
concrete definition object inserted, instead of a *copy* of the definition
object. That is, the concrete report definition is part of two documents, or two
times part of the same document. Which leads to all kind of problems ...

Funnily (well, kind of), I can reproduce all those problems with forms, too ... :(
Comment 10 Frank Schönheit 2007-05-19 22:41:11 UTC
Adjusting summary/keywords/target: This is a regression in CWS oj14:
Copy'n'Paste and Drag'n'Drop of any form/report object does not work anymore.
Comment 11 Frank Schönheit 2007-05-19 22:41:58 UTC
Created attachment 45252 [details]
document to reproduce the bug case
Comment 12 Frank Schönheit 2007-05-19 22:43:31 UTC
attached is a simplified document to reproduce: bug.odb

Simply copy'n'paste the contained form into the same document, and open the
resulting form - it will be empty.

fs->oj: What I said above about the same object being inserted is nonsense - I
recognized too late that the source object in fact is used as template to create
a new object. This creation happens using a copyTo on the respective storage -
and this is what seems to be broken.
Comment 13 ocke.janssen 2007-05-31 08:32:34 UTC
Fixed in cws oj14
Comment 14 ocke.janssen 2007-06-08 12:03:50 UTC
Please verify. Thanks.
Comment 15 marc.neumann 2007-06-12 10:35:29 UTC
verified in CWS oj14 version 0.4.0
Comment 16 drewjensen.inbox 2007-08-19 05:01:15 UTC
tested w/ RD 1.0

Closing