Issue 112659 - [Windows 7] image controls bound to text columns store a wrong image URL
Summary: [Windows 7] image controls bound to text columns store a wrong image URL
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: DEV300m83
Hardware: Unknown Windows 7
: P3 Trivial (vote)
Target Milestone: OOo 3.3
Assignee: marc.neumann
QA Contact: issues@dba
Depends on:
Blocks: 111112
  Show dependency tree
Reported: 2010-06-24 14:48 UTC by r4zoli
Modified: 2010-10-15 12:48 UTC (History)
1 user (show)

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

bugdoc (34.21 KB, application/vnd.sun.xml.base)
2010-08-25 19:04 UTC, r4zoli
no flags Details
table screenshot (57.39 KB, image/png)
2010-08-25 19:04 UTC, r4zoli
no flags Details
screenshot empty form (61.99 KB, text/plain)
2010-08-25 19:05 UTC, r4zoli
no flags Details
after opening in 3.2.1 and ubuntu OOO330m3 (74.25 KB, text/plain)
2010-08-25 19:20 UTC, r4zoli
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description r4zoli 2010-06-24 14:48:25 UTC
Image can not be inserted into database table by form, when image control
bounded to text field.

The feature not working, it inserts something like this into the text field , instead of file URL.

The inserted image not shown in form control.
The Image(LONGVARBINARY) bounded controls works.  

It was working in OOo 3.2.1. Regression.
Comment 1 Frank Schönheit 2010-08-25 13:54:28 UTC
cannot reproduce - neither in OOO330.m5 nor in DEV300.m83
Comment 2 r4zoli 2010-08-25 19:02:11 UTC
I created example file in OOO330m5.
Created new file, added table, created new form with wizard, modified one
control to image control. 
Added pictures from : C:\Program Files\ 3\Basis\share\gallery
Closed form, opened table, see attached screenshot.
Reopened form, no images on it (or left images as in issue 114022)from first record.
When I try to add existing image, sometimes OOo crashes, I can not reproduce it
in which phase, sometimes I can remove image through control as you can see from
ID=5 case attached database.
Comment 3 r4zoli 2010-08-25 19:04:06 UTC
Created attachment 71391 [details]
Comment 4 r4zoli 2010-08-25 19:04:46 UTC
Created attachment 71392 [details]
table screenshot
Comment 5 r4zoli 2010-08-25 19:05:19 UTC
Created attachment 71393 [details]
screenshot empty form
Comment 6 r4zoli 2010-08-25 19:20:01 UTC
I opened same database in OOo 3.2.1 and worked without problem.
I opened same database under Ubuntu 10.04, in OOO330m3, the links saved as
absolute links instead of relative. 
See attached screenshot.
Comment 7 r4zoli 2010-08-25 19:20:59 UTC
Created attachment 71394 [details]
after opening in 3.2.1 and ubuntu OOO330m3
Comment 8 Frank Schönheit 2010-08-26 08:58:28 UTC
I see that the odb you attached is broken, but I cannot reproduce the problem -
not on Linux, and not on Windows XP.

From examining the code, I suspect it might have something to do with the file
dialog which is used for selecting the file. Is it correct that you use the
system file dialog, and that the problem vanishes when you use OOo's internal
file dialog?
Comment 9 r4zoli 2010-08-26 17:07:03 UTC
Yes, you are right, this problem only if I use win7 file picker dialog.

If I use OOo own file dialog no problems at all, works fine.
Comment 10 Frank Schönheit 2010-08-27 08:32:49 UTC
okay, fixed this in CWS dba33h then
Comment 11 Frank Schönheit 2010-08-27 08:33:10 UTC
Comment 12 Frank Schönheit 2010-08-27 09:55:23 UTC
Comment 13 Frank Schönheit 2010-09-01 08:01:49 UTC
fs->msc: please verify in CWS dba33h
Comment 14 marc.neumann 2010-09-03 08:52:50 UTC
verified in CWS dba33h

find more information about this CWS, like when it is available in the master
builds, in EIS, the Environment Information System:
Comment 15 r4zoli 2010-10-15 12:48:02 UTC
Checked in OOO330m10 on win7, ok. Closing.