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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017480
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2011-06-02 17:032011-06-27 14:14
ReportershuehnerView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision1aaaf03bf780
ProjectionnoneETAnoneTarget Version3.0MP1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0017480: Can't add attachment to record B, with same name another attached an record A already has, when B has no attachemtns before.

DescriptionSome logic mistake in the code searching for duplicate attachment names among the attachments of one record.
Steps To ReproduceAdd attachment with name 'test.txt' to a record A
Go to a different record B in the same tab which does not yet have any attachments.
Try to add an attachment to this record B with name also 'test.txt'

Expected: works
Currently: fails with message there's already an attachment with that name

Note: If b already has some attachment the same procedure works.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0038172)
hgbot (developer)
2011-06-08 16:24

Repository: erp/devel/pi
Changeset: 1aaaf03bf7806ef7a740414a3457d40ffad388bb
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Jun 08 16:23:36 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1aaaf03bf7806ef7a740414a3457d40ffad388bb [^]

Fixed issue 17480. Now attachments for current record are checked when a new attachment is created.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form-attachments.js
---
(0038538)
shuehner (administrator)
2011-06-27 14:14

Tested in pi/pgsql/chromium (rev: 9652da83413c). Now then adding attachments the 'duplicate-name' check does only check for duplicates in the same record. And not also in previously visited record. -> Closing

- Issue History
Date Modified Username Field Change
2011-06-02 17:03 shuehner New Issue
2011-06-02 17:03 shuehner Assigned To => marvintm
2011-06-02 17:03 shuehner Modules => Core
2011-06-08 16:24 hgbot Checkin
2011-06-08 16:24 hgbot Note Added: 0038172
2011-06-08 16:24 hgbot Status new => resolved
2011-06-08 16:24 hgbot Resolution open => fixed
2011-06-08 16:24 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1aaaf03bf7806ef7a740414a3457d40ffad388bb [^]
2011-06-10 13:31 plujan Target Version => 3.0MP1
2011-06-27 14:14 shuehner Note Added: 0038538
2011-06-27 14:14 shuehner Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker