Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011241Openbravo ERPB. User interfacepublic2009-11-04 12:452009-11-19 00:00
networkb 
marvintm 
urgentmajoralways
closedfixed 
5
2.50MP6 
2.50MP9 
Core
No
0011241: The image selector when filling and image field the first time is not the correct
-Create a new table, and one of the columns should be with type character varying 32
-Create a new table in the application dictionary and a window for this table.
-For the column with type character varying 32, asign the imageBLOB reference.
-Compile the application
-Access to the window with user Openbravo and role Openbravo admin
-Fill the image by clicking on the field.
-See that the selector is not the correct selector (see attached file image_selector.png )
-After fill the field the first time, then if you click on the image,
the selector that appears is the correct. (see attache file image_selector2.png)
No tags attached.
related to defect 00112392.50MP9 closed marvintm The images on a field filled by a user can not be seen by other user with other role with access to the window 
zip selector.zip (73,840) 2009-11-04 12:45
https://issues.openbravo.com/file_download.php?file_id=1912&type=bug
png BPImageSelector.png (147,234) 2009-11-05 08:07
https://issues.openbravo.com/file_download.php?file_id=1916&type=bug
png

png BPwindow.png (256,168) 2009-11-05 08:07
https://issues.openbravo.com/file_download.php?file_id=1917&type=bug
png
Issue History
2009-11-04 12:45networkbNew Issue
2009-11-04 12:45networkbAssigned To => rafaroda
2009-11-04 12:45networkbFile Added: selector.zip
2009-11-05 08:06rafarodaNote Added: 0021578
2009-11-05 08:06rafarodaStatusnew => feedback
2009-11-05 08:07rafarodaFile Added: BPImageSelector.png
2009-11-05 08:07rafarodaFile Added: BPwindow.png
2009-11-05 08:07rafarodaNote Edited: 0021578
2009-11-05 08:15rafarodaRelationship addedrelated to 0011239
2009-11-12 08:35networkbNote Added: 0021754
2009-11-12 08:35networkbDescription Updated
2009-11-12 08:37networkbStatusfeedback => new
2009-11-12 11:10rafarodaAssigned Torafaroda => marvintm
2009-11-12 11:10rafarodaPriorityimmediate => urgent
2009-11-12 11:10rafarodaStatusnew => scheduled
2009-11-18 10:02hgbotCheckin
2009-11-18 10:02hgbotNote Added: 0021952
2009-11-18 10:02hgbotStatusscheduled => resolved
2009-11-18 10:02hgbotResolutionopen => fixed
2009-11-18 10:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/dcf41c4246535e1d7ee29e238a30d79501066811 [^]
2009-11-18 15:53alostaleStatusresolved => closed
2009-11-19 00:00anonymoussf_bug_id0 => 2900159

Notes
(0021578)
rafaroda   
2009-11-05 08:06   
(edited on: 2009-11-05 08:07)
Following the steps provided in [1] the selector was created properly the first time and works properly (see attached images).

Can you provide more information?

[1] http://wiki.openbravo.com/wiki/Projects/Image_Reference_BLOB#Add_Image_Reference_BLOB_field_to_an_existing_window [^]

(0021754)
networkb   
2009-11-12 08:35   
I have modify the steps to reproduce, because this problem does not happen when creating a new column but when creating a new table with a column for the image.
(0021952)
hgbot   
2009-11-18 10:02   
Repository: erp/devel/pi
Changeset: dcf41c4246535e1d7ee29e238a30d79501066811
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Nov 18 10:01:49 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/dcf41c4246535e1d7ee29e238a30d79501066811 [^]

Fixed issue 11239. Fixed issue 11241.

---
M src-wad/src/org/openbravo/wad/controls/WADImageBLOB.java
M src/org/openbravo/erpCommon/info/ImageInfoBLOB.html
M src/org/openbravo/erpCommon/info/ImageInfoBLOB.java
M src/org/openbravo/erpCommon/info/ImageInfoBLOB.xml
M src/org/openbravo/erpCommon/utility/ShowImage.java
---