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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032705
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfaceminoralways2016-04-19 10:252016-06-17 19:37
ReportergorkaionView Statuspublic 
Assigned Togorkaion 
PriorityhighResolutionfixedFixed in Version3.0PR16Q3
StatusclosedFix in branchFixed in SCM revision095c84839a3e
ProjectionnoneETAnoneTarget Version3.0PR16Q3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression levelPre packaging ( pi )
Regression date2016-04-18
Regression introduced in releasepi
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/579d01b25a3b [^]
Triggers an Emergency PackNo
Summary

0032705: attachment button in toolbar is not updated

DescriptionOn form view editing a record with attachments.

When navigating to the next record using the "Go to next record" button the status of the attachment button is not updated if the new loaded record does not have attachments.
Steps To Reproduce1. Go to Product Window.
2. Edit a product and add a new attachment.
3. Check that the attachment button of the toolbar changes to the "show attachments"
4. Click on "Go to next record"
5. Check that the button is still in "show attachments" mode.
6. Open the attachment section.
7. Check that there isn't any attachment and the toolbar button is properly updated.
Proposed Solutionfix javascript issue when processing FIC return.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by feature request 0029771 closednaiaramartinez different attachment method infrastructure 

-  Notes
(0085738)
hgbot (developer)
2016-04-19 10:29

Repository: erp/devel/pi
Changeset: 095c84839a3e113ba83b3369fc06d2ec1d8041ee
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Tue Apr 19 10:28:30 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/095c84839a3e113ba83b3369fc06d2ec1d8041ee [^]

Fixed issue 32705.check that attachmentCount is a number

Change the if clause to check that attachmentCount is a number instead of just
if (data.attachmentCount) {}.
In this case when count is 0 the if clause should return true but JavaScript
considers 0 as false.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
---
(0085873)
alostale (manager)
2016-04-22 09:33

code reviewed

tested in form and grid view
(0087465)
hudsonbot (developer)
2016-06-17 19:37

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/0dc7be081b1c [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2016-04-19 10:25 gorkaion New Issue
2016-04-19 10:25 gorkaion Assigned To => gorkaion
2016-04-19 10:25 gorkaion Modules => Core
2016-04-19 10:25 gorkaion Regression level => Pre packaging ( pi )
2016-04-19 10:25 gorkaion Regression date => 2016-04-18
2016-04-19 10:25 gorkaion Regression introduced in release => pi
2016-04-19 10:25 gorkaion Regression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/579d01b25a3b [^]
2016-04-19 10:25 gorkaion Triggers an Emergency Pack => No
2016-04-19 10:29 hgbot Checkin
2016-04-19 10:29 hgbot Note Added: 0085738
2016-04-19 10:29 hgbot Status new => resolved
2016-04-19 10:29 hgbot Resolution open => fixed
2016-04-19 10:29 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/095c84839a3e113ba83b3369fc06d2ec1d8041ee [^]
2016-04-19 10:31 gorkaion Review Assigned To => alostale
2016-04-19 10:32 alostale Relationship added caused by 0029771
2016-04-22 09:33 alostale Note Added: 0085873
2016-04-22 09:33 alostale Status resolved => closed
2016-04-22 09:33 alostale Fixed in Version => 3.0PR16Q3
2016-06-17 19:37 hudsonbot Checkin
2016-06-17 19:37 hudsonbot Note Added: 0087465


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker