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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0009083
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionaryminoralways2009-05-19 12:252009-05-21 00:00
ReporternetworkbView Statuspublic 
Assigned Toalostale 
PriorityimmediateResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.40SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0009083: Read Only Logic does not work if the clausure does not include a column from the table

DescriptionA read only logic does not work if the clausure is like:

@#AD_User_ID@!1000000

The javascript function created is:

function readOnlyLogic() {
  readOnlyLogicElement('ColumnName', (strAD_User_ID != 1000000));
  return true;
}

It seems that a field called strAD_User_ID should be a column from the table.
This column does not exist in the table so, the Read Only Logic does not work

Steps To ReproduceGo to Application Dictionary > Tables and Columns > C_BPartner.

Search column: name.

In Read Only Logic add: @#AD_User_ID@!1000000

Compile the window.

Login the application using an user <> 1000000
Proposed SolutionIt exists a workaround:

Create an Auxiliary input like:

@SQL=SELECT AD_USER_ID FROM AD_USER WHERE AD_USER_ID = @#AD_User_ID@

In Read Only logic use:

@AuxiliaryInputName@!1000000
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0009098 newiciordia Read Only Logic does not work if the clausure does not include a column from the table 

-  Notes
(0016462)
rafaroda (developer)
2009-05-19 12:28

Asier,

Could you please determine whether this is a defect or not?

Thanks.
(0016481)
alostale (manager)
2009-05-20 08:35

A feature request (0009098) has been created from this issue.

This issue is not going to be fixed as it has a simple workaround (described above).

- Issue History
Date Modified Username Field Change
2009-05-19 12:25 networkb New Issue
2009-05-19 12:25 networkb Assigned To => rafaroda
2009-05-19 12:25 networkb Regression testing => No
2009-05-19 12:27 rafaroda Assigned To rafaroda => alostale
2009-05-19 12:28 rafaroda Note Added: 0016462
2009-05-20 08:33 alostale Issue cloned 0009098
2009-05-20 08:33 alostale Relationship added related to 0009098
2009-05-20 08:35 alostale Status new => closed
2009-05-20 08:35 alostale Note Added: 0016481
2009-05-20 08:35 alostale Resolution open => no change required
2009-05-21 00:00 anonymous sf_bug_id 0 => 2794609


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker