Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0018781 | Openbravo ERP | A. Platform | public | 2011-10-17 09:12 | 2011-11-04 13:57 |
|
Reporter | mtaal | |
Assigned To | mtaal | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0MP5 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0018781: Javascript: local vars are not declared |
Description | There are many occurences of local vars not being declared in the javascript code. |
Steps To Reproduce | Apply the attached jslint diff to enable checking of non-local declared vars. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0018782 | 3.0MP5 | closed | marvintm | Unclear/undefined variable | related to | defect | 0018792 | 3.0MP5 | closed | mirurita | Advanced payment javascript uses undeclared variables |
|
Attached Files | errors.log (79,497) 2011-10-17 09:12 https://issues.openbravo.com/file_download.php?file_id=4644&type=bug
jslint.diff (534) 2011-10-17 09:13 https://issues.openbravo.com/file_download.php?file_id=4645&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2011-10-17 09:12 | mtaal | New Issue | |
2011-10-17 09:12 | mtaal | Assigned To | => mtaal |
2011-10-17 09:12 | mtaal | File Added: errors.log | |
2011-10-17 09:12 | mtaal | Modules | => Core |
2011-10-17 09:12 | mtaal | OBNetwork customer | => No |
2011-10-17 09:13 | mtaal | File Added: jslint.diff | |
2011-10-17 09:29 | mtaal | Relationship added | related to 0018782 |
2011-10-17 17:44 | hgbot | Checkin | |
2011-10-17 17:44 | hgbot | Note Added: 0041858 | |
2011-10-17 17:44 | hgbot | Status | new => resolved |
2011-10-17 17:44 | hgbot | Resolution | open => fixed |
2011-10-17 17:44 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/36a68ff40ca2dbc70f7c750449142179723717f3 [^] |
2011-10-17 17:50 | mtaal | Relationship added | related to 0018792 |
2011-10-23 13:41 | hudsonbot | Checkin | |
2011-10-23 13:41 | hudsonbot | Note Added: 0042007 | |
2011-10-24 23:22 | hgbot | Checkin | |
2011-10-24 23:22 | hgbot | Note Added: 0042075 | |
2011-10-24 23:22 | hgbot | Checkin | |
2011-10-24 23:22 | hgbot | Note Added: 0042076 | |
2011-10-24 23:22 | hgbot | Checkin | |
2011-10-24 23:22 | hgbot | Note Added: 0042077 | |
2011-10-24 23:22 | hgbot | Checkin | |
2011-10-24 23:22 | hgbot | Note Added: 0042078 | |
2011-10-27 12:26 | hgbot | Checkin | |
2011-10-27 12:26 | hgbot | Note Added: 0042148 | |
2011-10-31 17:37 | iperdomo | Note Added: 0042421 | |
2011-10-31 17:37 | iperdomo | Status | resolved => closed |
2011-11-04 13:56 | hudsonbot | Checkin | |
2011-11-04 13:56 | hudsonbot | Note Added: 0042555 | |
2011-11-04 13:56 | hudsonbot | Checkin | |
2011-11-04 13:56 | hudsonbot | Note Added: 0042556 | |
2011-11-04 13:56 | hudsonbot | Checkin | |
2011-11-04 13:56 | hudsonbot | Note Added: 0042557 | |
2011-11-04 13:56 | hudsonbot | Checkin | |
2011-11-04 13:56 | hudsonbot | Note Added: 0042558 | |
2011-11-04 13:57 | hudsonbot | Checkin | |
2011-11-04 13:57 | hudsonbot | Note Added: 0042581 | |
Notes |
|
(0041858)
|
hgbot
|
2011-10-17 17:44
|
|
Repository: erp/devel/pi
Changeset: 36a68ff40ca2dbc70f7c750449142179723717f3
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Oct 17 17:44:04 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/36a68ff40ca2dbc70f7c750449142179723717f3 [^]
Fixes issue 18781: Javascript: local vars are not declared
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-checkbox.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-datechooser.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-fk-filter.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-section-audit.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form-attachments.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-toolbar.js
M modules/org.openbravo.client.widgets/web/org.openbravo.client.widgets/js/ob-gcal.js
M modules/org.openbravo.client.widgets/web/org.openbravo.client.widgets/js/ob-twitter.js
---
|
|
|
|
|
|
(0042075)
|
hgbot
|
2011-10-24 23:22
|
|
Repository: erp/devel/pi
Changeset: 103c7719b60156218abf0b3922f3dec52d858785
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Mon Oct 24 23:16:22 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/103c7719b60156218abf0b3922f3dec52d858785 [^]
Issue 18781: Annotate source code with available globals
---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-link-widget.js
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-widget.js
---
|
|
|
(0042076)
|
hgbot
|
2011-10-24 23:22
|
|
Repository: erp/devel/pi
Changeset: fc3f177182834c7df69f1d8fccbdcd2c2f8c863d
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Mon Oct 24 23:17:12 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/fc3f177182834c7df69f1d8fccbdcd2c2f8c863d [^]
Issue 18781: Annotate the source code with available globals
---
M modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-community-branding-widget.js
---
|
|
|
(0042077)
|
hgbot
|
2011-10-24 23:22
|
|
Repository: erp/devel/pi
Changeset: b249bed2371e9e8295427c4d02edf0e8b524dae0
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Mon Oct 24 23:20:02 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b249bed2371e9e8295427c4d02edf0e8b524dae0 [^]
Issue 18781: Fixes use of undeclared variables
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-search.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
---
|
|
|
(0042078)
|
hgbot
|
2011-10-24 23:22
|
|
|
|
(0042148)
|
hgbot
|
2011-10-27 12:26
|
|
|
|
|
The jslint script already includes the --undef flag.
Tested on pi @ rev b2c924670350 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|