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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014505
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionarymajoralways2010-09-09 16:482012-03-02 09:38
ReporterrafarodaView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionout of dateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionProfessional ApplianceDatabase version8.3.9Ant version1.7.1
Product Version2.50MP21SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0014505: Read-only logic does not get properly columns stored in session

DescriptionRead-only logic does not get properly columns stored in session which results in a wrong behaviour in children tabs.
Steps To Reproduce1) Logged as System Administrator, navigate to Application Dictionary || Tables and Columns || Table and select table Project
2) Go to Column Projectstatus and set it as Stored in Session
3) Go to Table Project Line
4) Go to Column Product and set read-only logic: @Projectstatus@='OP'

Compile project windows: ant compile.development -Dtab="project"

Restart Tomcat

Navigate to Service Project Lines of a project with Status = Open: see that Product field is editable (non read-only).
Proposed SolutionCan be workarounded with auxiliary inputs [1]

See: SELECT * FROM AD_AUXILIARINPUT WHERE UPPER(CODE) LIKE '%SQL%PROCESSED%'

And:
SELECT t.name AS table_name, c.name AS column_name, c.readonlylogic AS read_only_logic
FROM ad_table t, ad_column c
WHERE c.readonlylogic IS NOT NULL
AND c.ad_table_id = t.ad_table_id
AND UPPER(c.readonlylogic) LIKE '%PROCESSED%'
ORDER BY t.name, c.name;

[1] http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/Concepts/AD/Dynamic_Expressions#Auxiliary_inputs [^]
Tagsdev-platform-quick-wins
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0011555 closedadrianromero Processed records should be rendered as read only 
related to defect 00142432.50MP23 closedsivaraman Requisition form is not following the logic of read only for completed status 
related to defect 00166713.0RC7 closedAinhoaPagola Date can be modified in a processed Internal Consuption 

-  Notes
(0045689)
alostale (manager)
2012-03-02 09:38

Working fine in OB3

- Issue History
Date Modified Username Field Change
2010-09-09 16:48 rafaroda New Issue
2010-09-09 16:48 rafaroda Assigned To => alostale
2010-09-09 16:48 rafaroda Tag Attached: dev-platform-quick-wins
2010-09-13 08:08 alostale Status new => scheduled
2010-10-18 09:28 rafaroda Relationship added related to 0011555
2010-10-18 09:29 rafaroda Relationship added related to 0014243
2011-04-11 13:49 AinhoaPagola Relationship added related to 0016671
2012-03-02 09:38 alostale Note Added: 0045689
2012-03-02 09:38 alostale Status scheduled => closed
2012-03-02 09:38 alostale Resolution open => out of date


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker