Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0041200 | Openbravo ERP | A. Platform | public | 2019-06-28 09:39 | 2019-07-01 11:57 |
|
Reporter | jarmendariz | |
Assigned To | jarmendariz | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR19Q3 | |
Merge Request Status | |
Review Assigned To | caristu |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | Pre packaging ( pi ) |
Regression date | |
Regression introduced in release | pi |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0041200: Javascript formatting Mercurial hook script does not support parameters |
Description | In the older version of the hook, a parameter could be passed to fix formatting of javascript files instead of only performing a check.
[hooks]
pre-commit = ./modules/org.openbravo.client.kernel/jsbeautify/jscheck-btfy-hg replace |
Steps To Reproduce | 1- Change formatting of some .js files
2- Add the -w flag to jsformatter pre-commit hook:
[hooks]
pre-commit = ./modules/org.openbravo.client.kernel/jsformatter/jsformatter-hg -w
3- Commit the changes
4- Commit will be rejected by the formatter and no fix were performed. |
Proposed Solution | Support the -w flag in jsformatter-hg and jsformatter-hg-hook to preserve the behavior of the old script. |
Additional Information | |
Tags | No tags attached. |
Relationships | caused by | feature request | 0039983 | | closed | jarmendariz | Upgrade javascript linter and formatter |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2019-06-28 09:39 | jarmendariz | New Issue | |
2019-06-28 09:39 | jarmendariz | Assigned To | => jarmendariz |
2019-06-28 09:39 | jarmendariz | Modules | => Core |
2019-06-28 09:39 | jarmendariz | Regression level | => Pre packaging ( pi ) |
2019-06-28 09:39 | jarmendariz | Regression introduced in release | => pi |
2019-06-28 09:39 | jarmendariz | Triggers an Emergency Pack | => No |
2019-06-28 09:39 | jarmendariz | Status | new => scheduled |
2019-06-28 09:39 | jarmendariz | Relationship added | caused by 0039983 |
2019-06-28 13:28 | hgbot | Checkin | |
2019-06-28 13:28 | hgbot | Note Added: 0113106 | |
2019-06-28 13:28 | hgbot | Status | scheduled => resolved |
2019-06-28 13:28 | hgbot | Resolution | open => fixed |
2019-06-28 13:28 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d7e6c0efc35e67006250edd9b483efdf28ddc518 [^] |
2019-06-28 13:45 | hgbot | Checkin | |
2019-06-28 13:45 | hgbot | Note Added: 0113107 | |
2019-06-28 13:48 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=19010#r19010 |
2019-06-28 13:53 | caristu | Review Assigned To | => caristu |
2019-06-28 13:53 | caristu | Note Added: 0113108 | |
2019-06-28 13:53 | caristu | Status | resolved => closed |
2019-06-28 13:53 | caristu | Fixed in Version | => 3.0PR19Q3 |
2019-07-01 11:57 | hudsonbot | Checkin | |
2019-07-01 11:57 | hudsonbot | Note Added: 0113115 | |
2019-07-01 11:57 | hudsonbot | Checkin | |
2019-07-01 11:57 | hudsonbot | Note Added: 0113116 | |
Notes |
|
(0113106)
|
hgbot
|
2019-06-28 13:28
|
|
Repository: erp/devel/pi
Changeset: d7e6c0efc35e67006250edd9b483efdf28ddc518
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Fri Jun 28 11:11:46 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d7e6c0efc35e67006250edd9b483efdf28ddc518 [^]
Fixed issue 41200: JSFormatter hg hook does not support arguments
Added support to a -w flag in JSFormatter script to support autofixing
formatting issues when commiting a changeset. This is supported to both
jsformatter-hg and jsformatter-hg-hook.
---
M modules/org.openbravo.client.kernel/jsformatter/jsformatter-hg
M modules/org.openbravo.client.kernel/jsformatter/jsformatter-hg-hook
---
|
|
|
(0113107)
|
hgbot
|
2019-06-28 13:45
|
|
Repository: erp/devel/pi
Changeset: 0b2991dc0bce9546eafdc260db4a297594e44c32
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Fri Jun 28 13:45:21 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0b2991dc0bce9546eafdc260db4a297594e44c32 [^]
Related to issue 41200: Adding quotes to optind operation
---
M modules/org.openbravo.client.kernel/jsformatter/jsformatter
M modules/org.openbravo.client.kernel/jsformatter/jsformatter-hg
M modules/org.openbravo.client.kernel/jsformatter/jsformatter-hg-hook
M modules/org.openbravo.client.kernel/jslint/jslint
---
|
|
|
|
|
|
|
|
|
|
|