Notes |
|
(0066705)
|
hgbot
|
2014-04-30 13:14
|
|
Repository: erp/devel/pi
Changeset: 4ffde15873c911075a468f4003eb0b4be2a2ac64
Author: Guillermo Gil <guillermo.gil <at> openbravo.com>
Date: Wed Apr 30 13:14:01 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4ffde15873c911075a468f4003eb0b4be2a2ac64 [^]
Fixed issue 26253: Images are not removing from database
Added an action handler to remove the images that are deleted on a new created entity and added and event handler that listens the delete and update event of the entities that have images
---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/ImagesActionHandler.java
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-image.js
M src/org/openbravo/base/model/ModelProvider.java
M src/org/openbravo/erpCommon/utility/ImageUtils.java
A modules/org.openbravo.client.application/src/org/openbravo/client/application/DeleteImageActionHandler.java
A modules/org.openbravo.client.application/src/org/openbravo/client/application/event/RemoveImagesEventHandler.java
---
|
|
|
(0066802)
|
hgbot
|
2014-05-05 11:03
|
|
Repository: erp/devel/pi
Changeset: 2d653c3624c383c9388561012a105b3ce3ec2411
Author: Guillermo Gil <guillermo.gil <at> openbravo.com>
Date: Mon May 05 11:03:21 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2d653c3624c383c9388561012a105b3ce3ec2411 [^]
Related to issue 26253: Apply code review
Added property to hashmap
---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/event/RemoveImagesEventHandler.java
M src/org/openbravo/base/model/ModelProvider.java
---
|
|
|
(0066803)
|
hgbot
|
2014-05-05 11:14
|
|
|
|
(0066808)
|
hgbot
|
2014-05-05 12:42
|
|
Repository: erp/devel/pi
Changeset: 2f2de88e903aeadcb01caabc5aa240a5d2c8c76f
Author: Guillermo Gil <guillermo.gil <at> openbravo.com>
Date: Mon May 05 12:42:05 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2f2de88e903aeadcb01caabc5aa240a5d2c8c76f [^]
Related to issue 26253: Applied code review
---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/event/RemoveImagesEventHandler.java
M src/org/openbravo/base/model/ModelProvider.java
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
code reviewed and tested
Known cases where deletion does not occur:
1. Image is uploaded and without saving record, "Cancel Changes" button is clicked
2. Having a record with image a new one in added and after that is is replaced with a new one |
|