Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021934
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajorhave not tried2012-10-15 11:262012-10-25 12:38
ReportermtaalView Statuspublic 
Assigned Topramakrishnan 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision0a2bdc2397de
ProjectionnoneETAnoneTarget Version3.0MP17
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Todmiguelez
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021934: Readonly logic in column definition has wrong format

DescriptionSee 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 ReproduceGoto payment in window and check the trace.
TagsNo tags attached.
Attached Filespng file icon 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
Powered by Mantis Bugtracker