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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031647
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2015-12-02 20:022016-03-17 10:53
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityhighResolutionfixedFixed in Version3.0PR16Q2
StatusclosedFix in branchFixed in SCM revision0759c894c939
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031647: js error after pressing ESC key on empty grid parameter of a process definition

DescriptionThe following js error is thrown in the console:

Uncaught TypeError: Cannot read property 'id' of null

after pressing ESC key on empty grid parameter of a process definition
Steps To Reproduce1) Go to the [Payment In] window
2) Create a new record in the header
3) Click on the Add Details button
4) In the Order/Invoice grid enter a filtering in order to display the grid empty
5) Having the focus on the filter, press ESC key
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0027773 closedcaristu It is not possible to perform tasks in the Add Details pop up window using only keyboard shortcuts 

-  Notes
(0083196)
hgbot (developer)
2016-01-11 16:16

Repository: erp/devel/pi
Changeset: 0759c894c939251afbf8949c8b114ffaca69582c
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon Jan 11 13:20:26 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/0759c894c939251afbf8949c8b114ffaca69582c [^]

fixes issue 31647: error after press ESC on empty grid of a process definition

The pneSelectionUpdated() function assumes that the actualRecord parameter is not null. If this method is invoked when a null or undefined value an error is thrown when trying to access to the id property of actualRecord. To prevent this error now we check if actualRecord is different from null and undefined before invoking pneSelectionUpdated() on the selectRecord() method of OBPickAndExecuteGrid

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
(0083339)
alostale (manager)
2016-01-15 11:24

code reviewed + tested
(0085027)
hudsonbot (developer)
2016-03-17 10:53

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

- Issue History
Date Modified Username Field Change
2015-12-02 20:02 caristu New Issue
2015-12-02 20:02 caristu Assigned To => platform
2015-12-02 20:02 caristu Modules => Core
2015-12-02 20:02 caristu Triggers an Emergency Pack => No
2015-12-02 20:02 caristu Relationship added related to 0027773
2015-12-10 09:39 alostale Status new => acknowledged
2016-01-11 16:16 hgbot Checkin
2016-01-11 16:16 hgbot Note Added: 0083196
2016-01-11 16:16 hgbot Status acknowledged => resolved
2016-01-11 16:16 hgbot Resolution open => fixed
2016-01-11 16:16 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0759c894c939251afbf8949c8b114ffaca69582c [^]
2016-01-11 16:17 caristu Review Assigned To => alostale
2016-01-11 16:17 caristu Issue Monitored: alostale
2016-01-13 12:45 caristu Assigned To platform => caristu
2016-01-15 11:24 alostale Note Added: 0083339
2016-01-15 11:24 alostale Status resolved => closed
2016-01-15 11:24 alostale Fixed in Version => 3.0PR16Q2
2016-03-17 10:53 hudsonbot Checkin
2016-03-17 10:53 hudsonbot Note Added: 0085027


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker