Issue 47271 - dynamic reports open in edit mode
Summary: dynamic reports open in edit mode
Status: CLOSED FIXED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: 680m92
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: marc.neumann
QA Contact: issues@dba
URL:
Keywords: regression
: 47272 (view as issue list)
Depends on:
Blocks:
 
Reported: 2005-04-12 16:23 UTC by Frank Schönheit
Modified: 2006-05-31 14:29 UTC (History)
1 user (show)

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


Attachments
document to reproduce the bug case (12.52 KB, application/vnd.sun.xml.base)
2005-04-12 16:24 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 Frank Schönheit 2005-04-12 16:23:36 UTC
- open the attached database document
- open the one report therein by double-clicking it
=> the report opens, and is filled with data
=> the report document is in edit mode. In particular, all visual helpers which
are only
   relevant for editing a document (such as the document border, table lines,
backgrounds
   of text fields (e.g. the date)) are shown. This looks pretty ugly, and is
probably not
   what users would expect here.
Comment 1 Frank Schönheit 2005-04-12 16:24:56 UTC
Created attachment 24987 [details]
document to reproduce the bug case
Comment 2 ocke.janssen 2005-04-13 08:10:06 UTC
It breaks from version m90 to m91
Comment 3 Frank Schönheit 2005-04-13 08:13:57 UTC
targeting to 2.0, in agreement with MSC, and approved by TZ.
Comment 4 Frank Schönheit 2005-04-13 08:21:56 UTC
It is a problem with filling the report by macro, after it has been opened:
First, we loadComponentFromURL the document with a ReadOnly=true parameter. This
works fine. Then, we start a Java service which fills the document with data,
which results in the document not being readonly anymore.

Well, kind of. The context menu of the document still is the one from RO-docs,
but the rest of the view says it's not RO anymore.

If I skip the last step on our side (i.e. starting the wizard which fills the
document), then everything is fine.
Comment 5 Oliver Specht 2005-04-13 15:17:02 UTC
->OJ: In dbaccess ODocumentDefinition::loadEmbeddedObject() there are two calls
of attachResource() at the model. The first switches Readonly off the second
switches back. 

This is not necessary to be able to change the report document via API. (But it
should work anyway) The reason why it doesn't work is not yet known.

Comment 6 ocke.janssen 2005-04-14 08:56:15 UTC
Fixed in cws dba33
Comment 7 ocke.janssen 2005-04-14 09:09:42 UTC
PLease verify. Thanks.

re-open issue and reassign to msc@openoffice.org
Comment 8 ocke.janssen 2005-04-14 09:09:54 UTC
reassign to msc@openoffice.org
Comment 9 ocke.janssen 2005-04-14 09:10:02 UTC
reset resolution to FIXED
Comment 10 ocke.janssen 2005-04-25 15:28:02 UTC
*** Issue 47272 has been marked as a duplicate of this issue. ***
Comment 11 marc.neumann 2005-06-10 12:32:34 UTC
verified in master -> close