Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026253
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfaceminorhave not tried2014-04-11 13:232014-05-12 09:40
ReporterjonalegriaesarteView Statuspublic 
Assigned Toguillermogil 
PrioritynormalResolutionfixedFixed in Version3.0PR14Q2
StatusclosedFix in branchFixed in SCM revision4ffde15873c9
ProjectionnoneETAnoneTarget Version3.0PR14Q3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0026253: Trash button in product window, image field is not removing the image from database

DescriptionTrash 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00251583.0MP31 closeddbaz Uploaded image cannot be deleted 
has duplicate defect 0028170 closedAugustoMauch Images are not deleted when you delete from the UI 
related to defect 0034491 acknowledgedTriage Platform Base Review access for DeleteImageActionHandler class 
related to design defect 0034773 acknowledgedTriage Platform Base Images uploaded in an existing record and later removed without saving changes are not removed from database 

-  Notes
(0066705)
hgbot (developer)
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 (developer)
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 (developer)
2014-05-05 11:14

Repository: erp/devel/pi
Changeset: abd08a73204245632aef50a8f025462b33cbc60d
Author: Guillermo Gil <guillermo.gil <at> openbravo.com>
Date: Mon May 05 11:13:29 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/abd08a73204245632aef50a8f025462b33cbc60d [^]

Related to issue 26253: Removed debug code

---
M src/org/openbravo/base/model/ModelProvider.java
---
(0066808)
hgbot (developer)
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
---
(0066983)
hudsonbot (developer)
2014-05-07 18:12

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/02ca2648bcdc [^]
Maturity status: Test
(0066996)
hudsonbot (developer)
2014-05-07 18:12

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/02ca2648bcdc [^]
Maturity status: Test
(0066997)
hudsonbot (developer)
2014-05-07 18:12

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/02ca2648bcdc [^]
Maturity status: Test
(0066998)
hudsonbot (developer)
2014-05-07 18:12

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/02ca2648bcdc [^]
Maturity status: Test
(0067085)
alostale (manager)
2014-05-12 09:40

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

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker