Issue 43196 - In Report Wizard, using "Modify Report" in step 6 loses all images
Summary: In Report Wizard, using "Modify Report" in step 6 loses all images
Status: CLOSED FIXED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: 680m79
Hardware: All Windows XP
: P3 Trivial (vote)
Target Milestone: OOo 2.0.1
Assignee: marc.neumann
QA Contact: issues@dba
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-20 10:12 UTC by justinclift
Modified: 2006-05-31 14:29 UTC (History)
1 user (show)

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


Attachments
Screenshot of opened report missing images, and it's preview (with images) in the background (66.92 KB, application/x-compressed)
2005-02-20 10:18 UTC, justinclift
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description justinclift 2005-02-20 10:12:34 UTC
Hi,

After opening a dynamic report created with the Report Wizard, all of the images
from the layout are gone.

Lengthier description:

Used the Report Wizard to create a new dynamic report.  For step 5 I chose the
layout "Screenbeans", for step 6 I chose "Modify report".

The report opens as expected in the Writer window for editing.  Without changing
anything close the report.  Reopen it from the Reports menu and it appears,
missing all of the images.  (They are still _generally_ visible in the Base
preview window however).

The missing images do not show up when editing, printing, nor PDF-ing.

I haven't figured out a workaround to recover the images thus far (and I
looked).  They appear to be embedded in templates for these styles and not
accessible through the filesystem as normal graphics.

The layouts having this issue:

 + Bubbles, Drafting, Screenbeans, Worldmap

Layouts that are ok:

 + Cinema, Controlling, Finances, Flipchart, Generic

I tested them each individually to confirm.

Regards and best wishes,

Justin Clift
Comment 1 justinclift 2005-02-20 10:18:50 UTC
Created attachment 22841 [details]
Screenshot of opened report missing images, and it's preview (with images) in the background
Comment 2 justinclift 2005-02-20 10:20:13 UTC
Doh.

When verifying this, try Bubbles or something instead of Screenbeans.

Using specifically Screenbeans is occasionally (inconsistently) actually working
and not always losing the images.

Regards and best wishes,

Justin Clift
Comment 3 Frank Schönheit 2005-03-07 13:49:47 UTC
can reproduce in SRC680m83.

fs->oj: There are some assertions when opening the report "package URLs are not
implemented", which let me assume that the background image is somehow stored
with a wrong relative URL. Not sure whether this is a wizard or Writer bug -
please invetigate, and assign to Berend if necessary.
Comment 4 ocke.janssen 2005-03-07 14:16:16 UTC
Hi Oliver,

when I open the report the bubbles are gone, but when I edit the report the
bubbles appear again. I get the following assertion:

---------------------------
Debug Output
---------------------------
Error: package urls aren't implemented
Abort ? (Yes=abort / No=ignore / Cancel=core dump)
---------------------------
Yes   No   Cancel   
---------------------------


Best regards,

Ocke
Comment 5 Oliver Specht 2005-03-07 15:40:13 UTC
Fixed in cws os55 in svx/source/items/frmitems.cxx
Comment 6 Oliver Specht 2005-03-16 13:28:50 UTC
cws os55 is available on so-cwsserv02

re-open issue and reassign to msc@openoffice.org
Comment 7 Oliver Specht 2005-03-16 13:28:54 UTC
reassign to msc@openoffice.org
Comment 8 Oliver Specht 2005-03-16 13:28:59 UTC
reset resolution to FIXED
Comment 9 marc.neumann 2005-03-18 11:28:54 UTC
reopen , because it's not fixed. The background graphic is still missing
Comment 10 marc.neumann 2005-03-18 11:29:17 UTC
reassign to os
Comment 11 Oliver Specht 2005-03-18 13:52:53 UTC
Retarget to 2.01
The graphics cannot be read from the storage for some reason. 
Changes in frmitems.cxx were wrong and have been undone.
Comment 12 Oliver Specht 2005-05-12 09:46:09 UTC
Fixed in cws os62 in 
svx/source/xml/xmlgrhlp.cxx

In SvXMLGraphicHelper::ImplGetGraphicStorage() it was tried to open the graphic
storage element in ReadWrite mode, only. This failed. Now additionally the
storage element is opened readonly.
Comment 13 Oliver Specht 2005-06-29 12:38:28 UTC
cws os62 can be found on cws03

re-open issue and reassign to msc@openoffice.org
Comment 14 Oliver Specht 2005-06-29 12:38:34 UTC
reassign to msc@openoffice.org
Comment 15 Oliver Specht 2005-06-29 12:38:39 UTC
reset resolution to FIXED
Comment 16 marc.neumann 2005-06-30 14:07:59 UTC
reopen because it's not fixed. If you save the report design the graphics are gone.
Comment 17 marc.neumann 2005-06-30 14:08:59 UTC
reassign to the developer to fix this again.
Comment 18 Oliver Specht 2005-08-25 11:19:00 UTC
->msc: Maybe I'm blind. But checking this task again it works no matter if I use
the default setting on page 6 or if I check 'Modify report layout'.
Except for the fact that "screenbeans" doesn't contain a background graphic anymore.
I chose Worldmap.

Comment 19 Oliver Specht 2005-08-25 11:21:26 UTC
.
Comment 20 Oliver Specht 2005-09-16 10:02:54 UTC
I must have been blind ;-)

Writing embedded documents uses the same storage for both writing and reading.
This results in lost graphic objects if previous graphic writing operations have
been performed. 

Fixed in 
svx/inc/xmlgrhlp.hxx
svx/source/xml/xmlgrhlp.cxx
Comment 21 marc.neumann 2005-10-18 11:49:17 UTC
verified in cws os62
Comment 22 marc.neumann 2005-11-18 13:09:01 UTC
Hi,

this is fixed in the current master. The current master is available at
http://download.openoffice.org/680/index.html

I close this issue now.

This issue is not fixed in a patch installlation, I wrote a new issue 58095 for
this.

Bye Marc