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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021029
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POScriticalalways2012-07-12 08:402012-09-25 13:07
ReporteralostaleView Statuspublic 
Assigned Toadrianromero 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision7c223e76b536
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021029: Cash up process cannot be opened

DescriptionWhen trying to open cash up process this js error is risen and the window is not opened:

Uncaught TypeError: Object [object Object] has no method 'show'

The error is in line:

this.toolbars.toolbarempty.show();

of OB.COMP.CloseKeyboard method
Steps To ReproduceOpen cash up process
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0021036 closedadrianromero Cash Up process gets stuck in Counting step and layout goes bonkers 

-  Notes
(0050514)
hgbot (developer)
2012-07-12 10:09

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: b781f7f01edc7a9a77e3789861f135ecb4033033
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Jul 12 10:09:13 2012 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b781f7f01edc7a9a77e3789861f135ecb4033033 [^]

Fixes issue 0021029: Cash up process cannot be opened

---
M web/org.openbravo.retail.posterminal/js/closecash/components/closekeyboard.js
---
(0050516)
hgbot (developer)
2012-07-12 10:42

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 7c223e76b5369c3c48b5709858cc9ef2e6cd6689
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Jul 12 10:41:55 2012 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7c223e76b5369c3c48b5709858cc9ef2e6cd6689 [^]

Fixes issue 0021029: Cash up process cannot be opened

---
M web/org.openbravo.retail.posterminal/js/closecash/components/closebuttons.js
---
(0050517)
alostale (manager)
2012-07-12 10:47

Still failing, now in 2nd step, error is:

Uncaught TypeError: Object [object Object] has no method 'show'

in line

this.options.closekeyboard.toolbars.toolbarcountcash.show();

at

OB.COMP.ButtonNext.clickEvent method
(0050519)
adrianromero (manager)
2012-07-12 11:34

toolbars is an internal member of the keyboard and shouldn't be referenced from outside the keyboard.

To show a toolbar the method show(toolbar) must be invoked:

Instead of :

  this.options.closekeyboard.toolbars.toolbarcountcash.show();

Use:

  this.options.closekeyboard.show('toolbarcountcash');
(0050520)
adrianromero (manager)
2012-07-12 11:36

The last changeset resolves the issue.

- Issue History
Date Modified Username Field Change
2012-07-12 08:40 alostale New Issue
2012-07-12 08:40 alostale Assigned To => adrianromero
2012-07-12 09:00 alostale Priority normal => immediate
2012-07-12 09:00 alostale Status new => scheduled
2012-07-12 09:00 alostale fix_in_branch => pi
2012-07-12 10:09 hgbot Checkin
2012-07-12 10:09 hgbot Note Added: 0050514
2012-07-12 10:09 hgbot Status scheduled => resolved
2012-07-12 10:09 hgbot Resolution open => fixed
2012-07-12 10:09 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b781f7f01edc7a9a77e3789861f135ecb4033033 [^]
2012-07-12 10:42 hgbot Checkin
2012-07-12 10:42 hgbot Note Added: 0050516
2012-07-12 10:42 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b781f7f01edc7a9a77e3789861f135ecb4033033 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7c223e76b5369c3c48b5709858cc9ef2e6cd6689 [^]
2012-07-12 10:47 alostale Note Added: 0050517
2012-07-12 10:47 alostale Status resolved => new
2012-07-12 10:47 alostale Resolution fixed => open
2012-07-12 11:34 adrianromero Note Added: 0050519
2012-07-12 11:35 adrianromero Status new => scheduled
2012-07-12 11:36 adrianromero Note Added: 0050520
2012-07-12 11:36 adrianromero Status scheduled => resolved
2012-07-12 11:36 adrianromero Resolution open => fixed
2012-07-12 12:07 alostale Relationship added has duplicate 0021036
2012-09-25 13:07 adrianromero Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker