Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011821Openbravo ERPA. Platformpublic2009-12-18 15:432010-01-23 00:00
iciordia 
alostale 
urgentminoralways
closedfixed 
5any
pi 
 
Core
No
0011821: BLOB images show the uuid of the image in grid mode
If a field using BLOB image reference is shown in grid mode the grid shows the uuid of the image.

Instead it should show a "Display image" link that opens a layer (or pop-up window if layer is not possible) on top of the grid rendering the image.
No tags attached.
Issue History
2009-12-18 15:43iciordiaNew Issue
2009-12-18 15:43iciordiaAssigned To => dbaz
2009-12-18 16:23andreaferacoIssue Monitored: andreaferaco
2009-12-21 16:49dbazNote Added: 0022984
2009-12-21 23:26dbazNote Added: 0022990
2009-12-21 23:32dbazAssigned Todbaz => alostale
2010-01-18 18:29mondalaciNote Added: 0023512
2010-01-18 18:30mondalaciIssue Monitored: mondalaci
2010-01-19 15:49hgbotCheckin
2010-01-19 15:49hgbotNote Added: 0023568
2010-01-19 15:49hgbotStatusnew => resolved
2010-01-19 15:49hgbotResolutionopen => fixed
2010-01-19 15:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b1788ba13033334b11447b0a5506bb2a84d2f1cf [^]
2010-01-20 14:56iciordiaNote Added: 0023618
2010-01-20 14:58mondalaciNote Added: 0023619
2010-01-20 23:26hudsonbotCheckin
2010-01-20 23:26hudsonbotNote Added: 0023676
2010-01-22 12:09dbazStatusresolved => closed
2010-01-23 00:00anonymoussf_bug_id0 => 2937523

Notes
(0022984)
dbaz   
2009-12-21 16:49   
Related to feature request 11821: Added img capabilities to DataGrid

URL: http://code.openbravo.com/erp/devel/pi/rev/8e4cb0a42979 [^]
(0022990)
dbaz   
2009-12-21 23:26   
Actually "Image" reference defines the DataGrid column as img (image) and the "text" of the cell is an url.

In the DataGrid a miniature of the image is shown, and if the user clicks it, it is opened in a popup (or in a new tab in FF using middle mouse button).

Now what is pending is to port the same logic existing now in "Image" reference to the new "Image BLOB" reference.
(0023512)
mondalaci   
2010-01-18 18:29   
Hi dbaz,

I like the implementation that you described. In which MP will you integrate this?

How about providing a way on a global or local level to set thumbnail size?
(0023568)
hgbot   
2010-01-19 15:49   
Repository: erp/devel/pi
Changeset: b1788ba13033334b11447b0a5506bb2a84d2f1cf
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Jan 19 15:49:01 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b1788ba13033334b11447b0a5506bb2a84d2f1cf [^]

fixed issue 011821: BLOB image reference shows image in grid

---
M src/org/openbravo/erpCommon/utility/DataGrid.java
M src/org/openbravo/erpCommon/utility/TableSQLData.java
---
(0023618)
iciordia   
2010-01-20 14:56   
Hi Mondalaci,

this feature will be included in MP11 to be published in 10 days.

The thumbnail size is fixed to fit with the height of a grid row

Ismael
(0023619)
mondalaci   
2010-01-20 14:58   
Ismael,

Excellent news! Thank you very much for letting me know.

Laci
(0023676)
hudsonbot   
2010-01-20 23:26   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/b1788ba13033 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/fa6621f85351 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/obx/core/OpenbravoERP-2.50CI.15942.obx [^]