Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010721Openbravo ERPA. Platformpublic2009-09-23 16:252010-01-22 00:00
psarobe 
iperdomo 
urgentmajoralways
closedfixed 
5
2.50MP6 
2.50MP112.50MP11 
Core
No
0010721: Autosave is not working with images field if you move to another window
If you are in a window that contains a field which is an image and you change it the change will not be performed if you move to another window. The change will be saved if you move to the grid or to another tab within the window
1. Login
2. Go to General setup->Client->Client
3. Move to Information and click on Your company menu image
4. Select one
5. Move to another window. for example Initial client set up.
6. Go back and you will see that the image is not there anymore
No tags attached.
Issue History
2009-09-23 16:25psarobeNew Issue
2009-09-23 16:25psarobeAssigned To => iperdomo
2009-09-24 18:57psarobeStatusnew => scheduled
2009-09-24 18:57psarobeversion => 2.50MP6
2009-09-24 18:57psarobeTarget Version => 2.50MP8
2009-12-15 10:16iciordiaPriorityhigh => urgent
2009-12-15 10:16iciordiaTarget Version2.50MP8 =>
2009-12-15 10:33iperdomoTarget Version => 2.50MP11
2009-12-30 17:02hgbotCheckin
2009-12-30 17:02hgbotNote Added: 0023158
2009-12-30 17:02hgbotStatusscheduled => resolved
2009-12-30 17:02hgbotResolutionopen => fixed
2009-12-30 17:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/21fc041b216b93a681c00fa694d6b6f234ffba59 [^]
2009-12-31 07:18arunkumarNote Added: 0023174
2009-12-31 08:59iperdomoNote Added: 0023176
2010-01-12 11:11sureshbabuNote Added: 0023346
2010-01-12 12:06psarobeNote Added: 0023350
2010-01-19 01:41hudsonbotCheckin
2010-01-19 01:41hudsonbotNote Added: 0023524
2010-01-21 16:33psarobeNote Added: 0023718
2010-01-21 16:33psarobeStatusresolved => closed
2010-01-21 16:33psarobeFixed in Version => 2.50MP11
2010-01-22 00:00anonymoussf_bug_id0 => 2936676

Notes
(0023158)
hgbot   
2009-12-30 17:02   
Repository: erp/devel/pi
Changeset: 21fc041b216b93a681c00fa694d6b6f234ffba59
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Wed Dec 30 17:01:49 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/21fc041b216b93a681c00fa694d6b6f234ffba59 [^]

Fixes issue 10721: Autosave is triggered when adding an image

---
M src-wad/src/org/openbravo/wad/controls/WADImageBLOB.html
M src-wad/src/org/openbravo/wad/controls/WADImageBLOB.xml
M src/org/openbravo/erpCommon/info/ImageInfoBLOB.html
M src/org/openbravo/erpCommon/info/ImageInfoBLOB.java
---
(0023174)
arunkumar   
2009-12-31 07:18   
Still I am seeing the issue while testing.

# Go to General setup->Client->Client
# Move to Information and click on Your company menu image
# Select the image.
# Move to another window. for example Initial client set up.
# Go back to Client -> Information and the image is not there anymore.
(0023176)
iperdomo   
2009-12-31 08:59   
@arunkumar
You need to recompile wad and recompile the Client window.
* ant wad.lib
* ant compile -Dtab="Client"

Deploy your changes.
(0023346)
sureshbabu   
2010-01-12 11:11   
Hi Ivan,

Thanks for your update, after executing the above commands i can able to view the image in the appropriate place.

But the issue reported by the reporter is related to auto save functionality.

* After moving to Client & information tab, i tried to upload a new image for the field "Your Company Big Image" by clicking the default image.

* Then he system navigates the user to a image selector window. i selected a new image from by hard disk by clicking the browse button

* And then i successfully uploaded the new image by clicking the upload image.

* Then it takes me to the General Setup || Client || Client || Client >> Information tab and i can find my new image replaces the old image in "Your Company Big Image" field

* the issue here is if i move away from this window without clicking the save button, i am losing my new image details


Thanks
Suresh
(0023350)
psarobe   
2010-01-12 12:06   
Suresh if you can reproduce the error reopen the issue
(0023524)
hudsonbot   
2010-01-19 01:41   
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/21fc041b216b [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7f3a35240cf9 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/obx/core/OpenbravoERP-2.50CI.15846.obx [^]
(0023718)
psarobe   
2010-01-21 16:33   
Tested working fine