Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0020114 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] 02. Master data management | minor | always | 2012-03-26 15:46 | 2012-04-02 06:13 | |||
| Reporter | vmromanos | View Status | public | |||||
| Assigned To | naiaramartinez | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | 3.0MP10 | |||
| Status | closed | Fix in branch | pi | Fixed in SCM revision | 6aee986e08a4 | |||
| Projection | none | ETA | none | Target Version | ||||
| OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_12 | |||
| OS Version | Debian 5.0 | Database version | 8.3.8 | Ant version | 1.7.0 | |||
| Product Version | SCM revision | |||||||
| 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 | 0020114: Bill of materials display logic | |||||||
| Description | Product window, Bill of materials display logic is: @IsSummary@='N' & @ProductType@='I' | @ProductType@='S' When you enter Product window, the following error is written into the log: >>>>>>> Issues found in javascript <<<<<<<<< Core.View:186:301: The '&&' subexpression should be wrapped in parens. >> offending code: name: 'billOfMaterials', title: 'Bill of Materials', sessionProperty: true, hasDefaultValue: true,columnName: 'IsBOM', inpColumnName: 'inpisbom', redrawOnChange: true, showIf: function(item, value, form, currentValues, context) { return (OB.Utilities.getValue(currentValues,'summaryLevel') === false && OB.Utilities.getValue(currentValues,'productType') === 'I' || OB.Utilities.getValue(currentValues,'productType') === 'S'); }, "width":1,"overflow":"visible", >>>>>>> Issues (6029ms) <<<<<<<<< It looks like the display logic should be changed to: (@IsSummary@='N' & @ProductType@='I') | @ProductType@='S' | |||||||
| Steps To Reproduce | Go to Product Window Create a new record Check and uncheck Bill of materials checkbox Read the server log | |||||||
| Proposed Solution | It looks like the display logic should be changed to: (@IsSummary@='N' & @ProductType@='I') | @ProductType@='S' | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Notes |
|
|
(0046868) naiaramartinez (viewer) 2012-03-29 11:25 |
Test Plan: Go to Product Window Create a new record Check and uncheck Bill of materials checkbox Read the server log. Now you can see that there is not message related to: '>>>>>>> Issues found in javascript <<<<<<<<<' |
|
(0046984) hgbot (developer) 2012-03-30 14:00 |
Repository: erp/devel/pi Changeset: 6aee986e08a4b5f58f06543689532e8d377fec05 Author: Naiara Martinez <naiara.martinez <at> openbravo.com> Date: Thu Mar 29 11:11:36 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/6aee986e08a4b5f58f06543689532e8d377fec05 [^] fixed bug 20114 Bill of materials display logic --- M src-db/database/sourcedata/AD_FIELD.xml --- |
|
(0046985) vmromanos (viewer) 2012-03-30 14:01 |
code review + testing OK |
|
(0047287) hudsonbot (viewer) 2012-04-02 06:13 |
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/7814864461ac [^] Maturity status: Test |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-03-26 15:46 | vmromanos | New Issue | |
| 2012-03-26 15:46 | vmromanos | Assigned To | => alostale |
| 2012-03-26 15:46 | vmromanos | Modules | => Core |
| 2012-03-26 15:46 | vmromanos | OBNetwork customer | => No |
| 2012-03-26 15:46 | vmromanos | Assigned To | alostale => vmromanos |
| 2012-03-29 10:51 | naiaramartinez | Assigned To | vmromanos => naiaramartinez |
| 2012-03-29 10:52 | naiaramartinez | Status | new => scheduled |
| 2012-03-29 10:52 | naiaramartinez | fix_in_branch | => pi |
| 2012-03-29 11:25 | naiaramartinez | Note Added: 0046868 | |
| 2012-03-30 14:00 | hgbot | Checkin | |
| 2012-03-30 14:00 | hgbot | Note Added: 0046984 | |
| 2012-03-30 14:00 | hgbot | Status | scheduled => resolved |
| 2012-03-30 14:00 | hgbot | Resolution | open => fixed |
| 2012-03-30 14:00 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/6aee986e08a4b5f58f06543689532e8d377fec05 [^] |
| 2012-03-30 14:01 | vmromanos | Note Added: 0046985 | |
| 2012-03-30 14:01 | vmromanos | Status | resolved => closed |
| 2012-03-30 14:01 | vmromanos | Fixed in Version | => 3.0MP10 |
| 2012-04-02 06:13 | hudsonbot | Checkin | |
| 2012-04-02 06:13 | hudsonbot | Note Added: 0047287 | |
| Copyright © 2000 - 2009 MantisBT Group |