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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035404
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2017-03-02 12:352019-07-23 08:34
ReporteralostaleView Statuspublic 
Assigned Toplatform 
PrioritynormalResolutionout of dateFixed in Version
StatusclosedFix in branchFixed in SCM revision71f6e1ff1552
ProjectionnoneETAnoneTarget Version
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

0035404: insufficient information in log when a view has jslint errors

DescriptionWhen a generated view has jslint errors, they are logged in openbravo.log. But there's no information about which is the view that has problems.
Steps To ReproduceBefore issue 0035403 is fixed:

1. As System Admin set User Interface Application module in development
2. As Group Admin open Financial Account window
  -> check openbravo.log:
632e68c4 2017-02-01 00:16:17,635 [ajp-bio-127.0.0.1-8009-exec-1] ERROR org.openbravo.client.kernel.ComponentGenerator - Error parsing component View
>>>>>>> Issues found in javascript <<<<<<<<<
Core.View:1967:52: Weird condition. >> offending code: f.disableItem('aprmFinaccTransOrigin', ('Y') || (OB.Utilities.getValue(currentValues,'aprmFinaccTransOrigin') !== '') === false);
>>>>>>> Issues (1969ms) <<<<<<<<<
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0035403 closedvmromanos jslint error in Financial Account window 
related to feature request 0039983 closedjarmendariz Upgrade javascript linter and formatter 

-  Notes
(0094682)
hgbot (developer)
2017-03-02 12:53

Repository: erp/devel/pi
Changeset: 71f6e1ff155295022d631faf833a1d818872e4b7
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Mar 02 12:49:53 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/71f6e1ff155295022d631faf833a1d818872e4b7 [^]

fixed bug 35404: insufficient information in log when a view has jslint errors

  Added window name and id to be shown in log

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/ViewComponent.java
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/BaseComponent.java
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/ComponentGenerator.java
---
(0094917)
caristu (developer)
2017-03-10 13:42

Reopened, log information is not being displayed for the problem reported in 0035403: https://docs.google.com/spreadsheets/d/18l2biKWeG6iGDIPqO6VuYQ_TtP_6YxyQU4KSrPvQlJ8/edit#gid=0 [^]
(0095248)
hudsonbot (developer)
2017-03-15 20:20

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/54e102bef53e [^]
Maturity status: Test
(0095749)
hgbot (developer)
2017-03-31 10:09

Repository: erp/devel/pi
Changeset: 30a984e553cb0a5f69df60cc51982cd40270a25a
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Mar 31 10:08:39 2017 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/30a984e553cb0a5f69df60cc51982cd40270a25a [^]

related to bug 35404: backout changeset 71f6e1ff155295022

  Fix was not correct, it didn't work in all cases because of CDI proxies.
  Proxied instance was not correctly initialized on casting.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/ViewComponent.java
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/BaseComponent.java
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/ComponentGenerator.java
---
(0095777)
hudsonbot (developer)
2017-04-01 12:06

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/44185ff76d75 [^]
Maturity status: Test
(0113585)
alostale (manager)
2019-07-23 08:34

Project 0039983 removed jslint on generated code

- Issue History
Date Modified Username Field Change
2017-03-02 12:35 alostale New Issue
2017-03-02 12:35 alostale Assigned To => platform
2017-03-02 12:35 alostale Modules => Core
2017-03-02 12:35 alostale Triggers an Emergency Pack => No
2017-03-02 12:35 alostale Relationship added related to 0035403
2017-03-02 12:37 alostale Relationship added related to 0035405
2017-03-02 12:38 alostale Relationship deleted related to 0035405
2017-03-02 12:52 alostale Assigned To platform => alostale
2017-03-02 12:52 alostale Review Assigned To => caristu
2017-03-02 12:53 hgbot Checkin
2017-03-02 12:53 hgbot Note Added: 0094682
2017-03-02 12:53 hgbot Status new => resolved
2017-03-02 12:53 hgbot Resolution open => fixed
2017-03-02 12:53 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/71f6e1ff155295022d631faf833a1d818872e4b7 [^]
2017-03-10 13:42 caristu Note Added: 0094917
2017-03-10 13:42 caristu Status resolved => new
2017-03-10 13:42 caristu Resolution fixed => open
2017-03-15 20:20 hudsonbot Checkin
2017-03-15 20:20 hudsonbot Note Added: 0095248
2017-03-31 10:09 hgbot Checkin
2017-03-31 10:09 hgbot Note Added: 0095749
2017-04-01 12:06 hudsonbot Checkin
2017-04-01 12:06 hudsonbot Note Added: 0095777
2017-04-07 09:05 alostale Status new => acknowledged
2017-04-10 14:33 alostale Assigned To alostale => platform
2017-04-10 19:09 caristu Review Assigned To caristu =>
2019-07-22 14:22 alostale Status acknowledged => scheduled
2019-07-23 08:34 alostale Note Added: 0113585
2019-07-23 08:34 alostale Status scheduled => closed
2019-07-23 08:34 alostale Resolution open => out of date
2019-07-23 08:34 alostale Relationship added related to 0039983


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker