Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0021934 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 09. Financial management | major | have not tried | 2012-10-15 11:26 | 2012-10-25 12:38 | |||
Reporter | mtaal | View Status | public | |||||
Assigned To | pramakrishnan | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 0a2bdc2397de | |||
Projection | none | ETA | none | Target Version | 3.0MP17 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | dmiguelez | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0021934: Readonly logic in column definition has wrong format | |||||||
Description | See the payment in window. When opening this window you see the following trace statement: >>>>>>> Issues found in javascript <<<<<<<<< Core.View:1035:162: The '&&' subexpression should be wrapped in parens. >> offending code: f.disableItem('financialTransactionConvertRate', context.NotAllowChangeExchange === 'Y' || OB.Utilities.getValue(currentValues,'processed') === true && OB.Utilities.getValue(currentValues,'status') !== 'RPAE'); >>>>>>> Issues (1881ms) <<<<<<<<< The reason is that the column (see attached screenshot) has read only logic with an | operator and a && operator. This |/or part should be wrapped in a ( and ). | |||||||
Steps To Reproduce | Goto payment in window and check the trace. | |||||||
Tags | No tags attached. | |||||||
Attached Files | Selection_006.png [^] (60,018 bytes) 2012-10-15 11:26
| |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0053596) hgbot (developer) 2012-10-24 11:28 |
Repository: erp/devel/pi Changeset: 0a2bdc2397de90a6fabccf609a7703d7b00c3461 Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com> Date: Tue Oct 23 10:27:54 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/0a2bdc2397de90a6fabccf609a7703d7b00c3461 [^] Fixes Issue 21934: Readonly logic in column definition has wrong format --- M src-db/database/sourcedata/AD_COLUMN.xml --- |
(0053597) dmiguelez (developer) 2012-10-24 11:29 |
Code Review + Testing OK |
(0053705) hudsonbot (developer) 2012-10-25 12:38 |
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/4a27e27689bc [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2012-10-15 11:26 | mtaal | New Issue | |
2012-10-15 11:26 | mtaal | Assigned To | => eduardo_Argal |
2012-10-15 11:26 | mtaal | File Added: Selection_006.png | |
2012-10-15 11:26 | mtaal | Modules | => Core |
2012-10-23 10:06 | pramakrishnan | Assigned To | eduardo_Argal => pramakrishnan |
2012-10-23 10:06 | pramakrishnan | Status | new => scheduled |
2012-10-23 10:06 | pramakrishnan | fix_in_branch | => pi |
2012-10-24 11:28 | hgbot | Checkin | |
2012-10-24 11:28 | hgbot | Note Added: 0053596 | |
2012-10-24 11:28 | hgbot | Status | scheduled => resolved |
2012-10-24 11:28 | hgbot | Resolution | open => fixed |
2012-10-24 11:28 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/0a2bdc2397de90a6fabccf609a7703d7b00c3461 [^] |
2012-10-24 11:29 | dmiguelez | Review Assigned To | => dmiguelez |
2012-10-24 11:29 | dmiguelez | Note Added: 0053597 | |
2012-10-24 11:29 | dmiguelez | Status | resolved => closed |
2012-10-25 12:38 | hudsonbot | Checkin | |
2012-10-25 12:38 | hudsonbot | Note Added: 0053705 |
Copyright © 2000 - 2009 MantisBT Group |