Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0026253 | Openbravo ERP | B. User interface | public | 2014-04-11 13:23 | 2014-05-12 09:40 |
|
Reporter | jonalegriaesarte | |
Assigned To | guillermogil | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | 3.0PR14Q3 | Fixed in Version | 3.0PR14Q2 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0026253: Trash button in product window, image field is not removing the image from database |
Description | Trash button in product window, image field is not removing the image from database. This affects to the size of the database, and the system is mainting data not needed in the database |
Steps To Reproduce | - Create a product
- Add an image
- Remove image using trash button
- Notice that the image is not removed from database |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0025158 | 3.0MP31 | closed | dbaz | Uploaded image cannot be deleted | has duplicate | defect | 0028170 | | closed | AugustoMauch | Images are not deleted when you delete from the UI | related to | defect | 0034491 | | acknowledged | Triage Platform Base | Review access for DeleteImageActionHandler class | related to | design defect | 0034773 | | acknowledged | Triage Platform Base | Images uploaded in an existing record and later removed without saving changes are not removed from database |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-04-11 13:23 | jonalegriaesarte | New Issue | |
2014-04-11 13:23 | jonalegriaesarte | Assigned To | => AugustoMauch |
2014-04-11 13:23 | jonalegriaesarte | Modules | => Core |
2014-04-11 13:23 | jonalegriaesarte | Resolution time | => 1403474400 |
2014-04-11 13:23 | jonalegriaesarte | Triggers an Emergency Pack | => No |
2014-04-11 13:35 | AugustoMauch | Relationship added | related to 0025158 |
2014-04-28 11:32 | guillermogil | Assigned To | AugustoMauch => guillermogil |
2014-04-29 11:09 | guillermogil | Issue Monitored: shankarb | |
2014-04-29 11:09 | guillermogil | Review Assigned To | => shankarb |
2014-04-30 13:08 | guillermogil | Issue End Monitor: shankarb | |
2014-04-30 13:08 | guillermogil | Issue Monitored: alostale | |
2014-04-30 13:08 | guillermogil | Review Assigned To | shankarb => alostale |
2014-04-30 13:14 | hgbot | Checkin | |
2014-04-30 13:14 | hgbot | Note Added: 0066705 | |
2014-04-30 13:14 | hgbot | Status | new => resolved |
2014-04-30 13:14 | hgbot | Resolution | open => fixed |
2014-04-30 13:14 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/4ffde15873c911075a468f4003eb0b4be2a2ac64 [^] |
2014-05-05 11:03 | hgbot | Checkin | |
2014-05-05 11:03 | hgbot | Note Added: 0066802 | |
2014-05-05 11:14 | hgbot | Checkin | |
2014-05-05 11:14 | hgbot | Note Added: 0066803 | |
2014-05-05 12:42 | hgbot | Checkin | |
2014-05-05 12:42 | hgbot | Note Added: 0066808 | |
2014-05-07 18:12 | hudsonbot | Checkin | |
2014-05-07 18:12 | hudsonbot | Note Added: 0066983 | |
2014-05-07 18:12 | hudsonbot | Checkin | |
2014-05-07 18:12 | hudsonbot | Note Added: 0066996 | |
2014-05-07 18:12 | hudsonbot | Checkin | |
2014-05-07 18:12 | hudsonbot | Note Added: 0066997 | |
2014-05-07 18:12 | hudsonbot | Checkin | |
2014-05-07 18:12 | hudsonbot | Note Added: 0066998 | |
2014-05-12 09:40 | alostale | Note Added: 0067085 | |
2014-05-12 09:40 | alostale | Status | resolved => closed |
2014-05-12 09:40 | alostale | Fixed in Version | => PR14Q2 |
2014-11-14 14:46 | alostale | Relationship added | has duplicate 0028170 |
2016-11-14 13:30 | caristu | Relationship added | related to 0034491 |
2016-12-19 18:54 | caristu | Relationship added | related to 0034773 |
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 |
|