Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0004197Openbravo ERPA. Platformpublic2008-06-27 16:342010-01-05 02:27
pjuvara 
iciordia 
lowtrivialhave not tried
acknowledgedopen 
5
 
pi 
Core
No
0004197: Product image upload
In 2.40, to add a product image you need to first load it in the system and then associate it to the product. This flow should be improved to also support loading from the user's file system
ReleaseCandidate
related to feature request 0003182pi closed iciordia Implement Image reference in dictionary 
Issue History
2008-06-27 16:34pjuvaraNew Issue
2008-06-27 16:34pjuvaraAssigned To => cromero
2008-06-27 16:34pjuvarasf_bug_id0 => 2004192
2008-06-27 16:34pjuvaraTag Attached: ReleaseCandidate
2008-06-27 16:35pjuvaraStatusnew => scheduled
2008-06-27 16:35pjuvaraRelationship addedrelated to 0003182
2008-07-15 14:00cromeroAssigned Tocromero => pheenan
2008-11-03 13:43pjuvaraTarget Version2.50 => 2.60
2008-11-21 16:45pjuvaraStatusscheduled => acknowledged
2008-11-21 17:05pjuvaraTarget Version2.60 => trunk
2009-03-24 11:03AinhoaPagolaAssigned Topheenan => pjuvara
2009-05-22 19:33pjuvaraAssigned Topjuvara => iciordia
2010-01-05 02:27mondalaciNote Added: 0023207
2010-01-05 02:28mondalaciIssue Monitored: mondalaci

Notes
(0023207)
mondalaci   
2010-01-05 02:27   
Let me paste a few lines of relevant IRC chat:

<huehner> katratxo: with thew new blob image you can directly upload a
file into a field in a wad-window
<huehner> katratxo: we did not convert the old users like product...
but new places like application images use it
<huehner> mlaci: example for the new image blob selector are the image
fields in 'Client' -> 'Information' as Openbravo admin, or as system
administrator the images in the 'System Information' window

And here's a suggested solution from Stefan which is a very good idea I believe:

<huehner> mlaci: its not so easy, which is why i was not done directly
<huehner> mlaci: problen is that the old-style images are files in the
servers filesystem in web/images, and the new style images are saved
directly inside the database
<huehner> mlaci: as we can't know if some other place used the files
in web/images they cannot be just 'moved' into the database
<huehner> mlaci: but you could still open a feature request to restart
the discussion for this... options would be to use the new style
images for new installation (if possible), but keep the other ones for
older installations