Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0041094 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] A. Platform | major | always | 2019-06-14 09:24 | 2019-06-21 14:14 | |||
| Reporter | jarmendariz | View Status | public | |||||
| Assigned To | jarmendariz | |||||||
| Priority | high | Resolution | fixed | Fixed in Version | 3.0PR19Q3 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | a56212b85ebd | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | ||||||||
| Review Assigned To | caristu | |||||||
| 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 | 0041094: Javascript formatting scripts fails on MacOSX | |||||||
| Description | jslint/jsformatter execution fails when executed in OSX. According to the provided screenshot, it is related to an argument using '--' in xargs. | |||||||
| Steps To Reproduce | Run jslint, jsformatter or commit using the provided mercurial hooks on an OSX machine | |||||||
| Proposed Solution | The syntax of some commands are slightly different between Linux/OSX. Change it and check it works on both machines | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0112809) hgbot (developer) 2019-06-17 11:37 |
Repository: erp/devel/pi Changeset: a56212b85ebdfd89cf1a8b6e8509c9f832c1a9c8 Author: Javier Armendáriz <javier.armendariz <at> openbravo.com> Date: Fri Jun 14 09:26:03 2019 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/a56212b85ebdfd89cf1a8b6e8509c9f832c1a9c8 [^] Fixed issue 41094: Improved support for OSX There are parts of the script that, although correct in linux, uses options that are not supported on OSX: * xargs --max-args is not present on OSX, replaced by -n * find -printf is not present on BSD/OSX, for our purpose it can be replaced by executing dirname --- M modules/org.openbravo.client.kernel/jsformatter/jsformatter M modules/org.openbravo.client.kernel/jsformatter/jsformatter-hg-hook M modules/org.openbravo.client.kernel/jslint/jslint M modules/org.openbravo.client.kernel/jslint/jslint-hg-hook M modules/org.openbravo.client.kernel/jsutils/dir-functions --- |
|
(0112839) hudsonbot (viewer) 2019-06-17 19:39 |
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/2ad95dac1570 [^] Maturity status: Test |
|
(0112943) caristu (viewer) 2019-06-21 14:14 |
Reviewed |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2019-06-14 09:24 | jarmendariz | New Issue | |
| 2019-06-14 09:24 | jarmendariz | Assigned To | => jarmendariz |
| 2019-06-14 09:24 | jarmendariz | File Added: Screenshot from 2019-06-14 09-23-39.png | |
| 2019-06-14 09:24 | jarmendariz | OBNetwork customer | => No |
| 2019-06-14 09:24 | jarmendariz | Modules | => Core |
| 2019-06-14 09:24 | jarmendariz | Triggers an Emergency Pack | => No |
| 2019-06-14 09:25 | jarmendariz | Relationship added | caused by 0039983 |
| 2019-06-14 09:25 | jarmendariz | Status | new => scheduled |
| 2019-06-17 11:37 | hgbot | Checkin | |
| 2019-06-17 11:37 | hgbot | Note Added: 0112809 | |
| 2019-06-17 11:37 | hgbot | Status | scheduled => resolved |
| 2019-06-17 11:37 | hgbot | Resolution | open => fixed |
| 2019-06-17 11:37 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a56212b85ebdfd89cf1a8b6e8509c9f832c1a9c8 [^] |
| 2019-06-17 11:42 | jarmendariz | Review Assigned To | => caristu |
| 2019-06-17 19:39 | hudsonbot | Checkin | |
| 2019-06-17 19:39 | hudsonbot | Note Added: 0112839 | |
| 2019-06-21 14:14 | caristu | Note Added: 0112943 | |
| 2019-06-21 14:14 | caristu | Status | resolved => closed |
| 2019-06-21 14:14 | caristu | Fixed in Version | => 3.0PR19Q3 |
| Copyright © 2000 - 2009 MantisBT Group |