Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 02. Master data managementminorhave not tried2009-12-29 12:112012-01-30 15:32
ReporterplujanView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionduplicateFixed in Version
StatusclosedFix in branchpiFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0011878: Organizations images can become orphans

DescriptionI created a new organization, then I went to Information tab. There is an image created for that tab (inherited from the client image I suppose).
So I can delete the record in Information, but stored image is still there (you can check it by querying the database). That means that the image is not reachable anymore using the ERP (it only can be deleted with a sql query)
Steps To Reproduce1. Create a new organization with default data
2. Go to Organization window, and open the created organization
3. Move to Information tab
4. Check that an image exist
5. Click on Delete Record button to delete current record
6. Record is deleted.
7. Now check in the database that AD_Image table still have a link to created Organization. So that image is an orphan now.
Proposed SolutionI think the best way is to raise an error when deleting the Information record saying that the image has to be deleted first.

Additional note: This issue is closely related to feature request 0007599
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of feature request 0010657 newmarvintm Images are not deleted when an entity that references them is removed 
related to feature request 0007599 acknowledgedrmorley New process: Delete Organization 

-  Notes
iciordia (manager)
2010-02-13 21:37

Antonio, can you please check that the image window can not edit BLOB images? If it can then those orphan images could be deleted from that window.


- Issue History
Date Modified Username Field Change
2009-12-29 12:11 plujan New Issue
2009-12-29 12:11 plujan Assigned To => rafaroda
2009-12-29 12:11 plujan Relationship added related to 0007599
2010-02-11 18:32 rafaroda Assigned To rafaroda => alostale
2010-02-13 21:34 iciordia Assigned To alostale => marvintm
2010-02-13 21:37 iciordia Status new => scheduled
2010-02-13 21:37 iciordia Note Added: 0024221
2010-02-13 21:37 iciordia fix_in_branch => pi
2012-01-30 15:32 marvintm Relationship added duplicate of 0010657
2012-01-30 15:32 marvintm Status scheduled => closed
2012-01-30 15:32 marvintm Resolution open => duplicate

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker