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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019942
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorsometimes2012-03-05 13:302012-04-02 12:15
ReporterplujanView Statuspublic 
Assigned Toiperdomo 
PriorityimmediateResolutionfixedFixed in Version3.0MP9
StatusclosedFix in branchpiFixed in SCM revision3c866f59ee24
ProjectionnoneETAnoneTarget Version3.0MP9
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browserMozilla Firefox
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0019942: JavaScript errors on Add Details button for Payment Out window

DescriptionWhen creating a new Payment Out for a Purchase Order the Selectors are not populated.

If the JavaScript console is open there are several "isc is not defined" and "OB is not defined" errors. And no dropdown is available in the popup.

Notice that to reproduce this error the cpu must be on high load. It's easier to reproduce it on Firefox.
Steps To Reproduce1. Login as QAAdmin user
2. Go to Purchase Order window
3. Create a new Purchase Order with the following data:
   Business Partner: Vendor A
   Payment Method: 1 (Spain)
   Payment Terms: 90 days
4. Add a line with the following data:
   Product: Raw Material A
   Ordered Quantity: 11.2
5. Save and Book the Order
6. Close the Purchase Order window and open Payment Out window
7. Create a new Payment with no business partner defined in the header.
8. Click the Add Details button
9. On the pop up window, check that the Business Partner does not have the selector to filter.
9. Choose Transaction Type: GL Items
10. Check that GL Item drop down is missing as well as the dimensions selectors.
TagsRegression QA
Attached Filespng file icon Add Transaction.png [^] (24,543 bytes) 2012-03-05 20:50


png file icon JS Error.png [^] (121,106 bytes) 2012-03-05 20:50

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0019905 closedvmromanos JSON exception on Add Details button for Payment Out window 

-  Notes
(0046061)
dmitry_mezentsev (developer)
2012-03-05 20:49

Using live.builds.pi I can reproduce similar issue with the same JS errors easily without any client high load. Actually not only me. I asked to reproduce Stefan and Gorka on their machines and got the same result.

At the same time it does not happen to me (tried several time) while using Demo or MP8 appliance. Based on that I tagged it as a Regression QA (please verify). Until root behind is clear I would like to consider this issue as a stopper for MP9.

Steps to reproduce.
1. live.builds.pi, standard user
2. Go to Financial Account window.
3. Select any Financial Account and press Add Transaction button.
4. In the appeared Add Transaction pop-up select Type of Transaction - GL Item.
5. Mention that resulted window does not have selectors for GL Item and Dimensions (see screenshot with window and error).

It could happen that if you close the pop-up and try to open it again - everything works. But if you logout from Openbravo and close the browser tab and then repeat above steps - you will see this issue once again.
(0046082)
hgbot (developer)
2012-03-06 12:39

Repository: erp/devel/pi
Changeset: efa5d74b862b34f14106fa2548e5c0d72e870275
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Tue Mar 06 12:38:05 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/efa5d74b862b34f14106fa2548e5c0d72e870275 [^]

Fixes issue 19942: Rollback to previous way of including .js file
- The document.write() pauses the executing of folling scripts, while creating a script DOM object
  and adding it to the head doesn't.
- Rollback the way we include the combined javascript file to the previous way
- Remove the delay call of 100ms we include when trying to solve the problem on gui tests in testing
  environment

---
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceComponent.java
M src/index.jsp
---
(0046086)
mtaal (manager)
2012-03-06 13:59

Reviewed
(0046999)
hgbot (developer)
2012-04-01 20:30

Repository: erp/devel/pi
Changeset: 3c866f59ee2475e50b39d588eec5b9790defbd17
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Tue Mar 06 12:38:05 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/3c866f59ee2475e50b39d588eec5b9790defbd17 [^]

Fixes issue 19942: Rollback to previous way of including .js file
- The document.write() pauses the executing of folling scripts, while creating a script DOM object
  and adding it to the head doesn't.
- Rollback the way we include the combined javascript file to the previous way
- Remove the delay call of 100ms we include when trying to solve the problem on gui tests in testing
  environment

---
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceComponent.java
M src/index.jsp
---
(0047044)
hudsonbot (developer)
2012-04-01 20: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/640de9acc2d5 [^]

Maturity status: Test
(0047297)
gorka_gil (administrator)
2012-04-02 12:15

Reopened by merge.

- Issue History
Date Modified Username Field Change
2012-03-05 13:30 plujan New Issue
2012-03-05 13:30 plujan Assigned To => gorkaion
2012-03-05 13:30 plujan Web browser => Mozilla Firefox
2012-03-05 13:30 plujan Modules => Core
2012-03-05 13:30 plujan Issue generated from 0019905
2012-03-05 13:30 plujan Relationship added related to 0019905
2012-03-05 13:36 gorkaion Web browser Mozilla Firefox => Mozilla Firefox
2012-03-05 13:36 gorkaion Assigned To gorkaion => vmromanos
2012-03-05 13:36 gorkaion Description Updated View Revisions
2012-03-05 13:36 gorkaion Steps to Reproduce Updated View Revisions
2012-03-05 17:19 gorkaion Web browser Mozilla Firefox => Mozilla Firefox
2012-03-05 17:19 gorkaion Summary JSON exception on Add Details button for Payment Out window => JavaScript errors on Add Details button for Payment Out window
2012-03-05 20:49 dmitry_mezentsev Note Added: 0046061
2012-03-05 20:49 dmitry_mezentsev Tag Attached: Regression QA
2012-03-05 20:50 dmitry_mezentsev File Added: Add Transaction.png
2012-03-05 20:50 dmitry_mezentsev File Added: JS Error.png
2012-03-05 20:50 dmitry_mezentsev Web browser Mozilla Firefox => Mozilla Firefox
2012-03-05 20:50 dmitry_mezentsev Priority urgent => immediate
2012-03-05 20:50 dmitry_mezentsev Target Version => 3.0MP9
2012-03-06 09:37 iperdomo Status new => scheduled
2012-03-06 09:37 iperdomo Assigned To vmromanos => iperdomo
2012-03-06 09:37 iperdomo fix_in_branch => pi
2012-03-06 12:39 hgbot Checkin
2012-03-06 12:39 hgbot Note Added: 0046082
2012-03-06 12:39 hgbot Status scheduled => resolved
2012-03-06 12:39 hgbot Resolution open => fixed
2012-03-06 12:39 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/efa5d74b862b34f14106fa2548e5c0d72e870275 [^]
2012-03-06 13:59 mtaal Note Added: 0046086
2012-03-06 13:59 mtaal Status resolved => closed
2012-03-06 13:59 mtaal Fixed in Version => 3.0MP9
2012-04-01 20:30 hgbot Checkin
2012-04-01 20:30 hgbot Note Added: 0046999
2012-04-01 20:30 hgbot Status closed => resolved
2012-04-01 20:30 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/efa5d74b862b34f14106fa2548e5c0d72e870275 [^] => http://code.openbravo.com/erp/devel/pi/rev/3c866f59ee2475e50b39d588eec5b9790defbd17 [^]
2012-04-01 20:37 hudsonbot Checkin
2012-04-01 20:37 hudsonbot Note Added: 0047044
2012-04-02 12:15 gorka_gil Note Added: 0047297
2012-04-02 12:15 gorka_gil Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker