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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026827
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2014-06-10 17:412015-11-24 18:23
ReporterumartirenaView Statuspublic 
Assigned Toumartirena 
PriorityhighResolutionopenFixed in Version
StatusfeedbackFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0026827: Columns Stored In Session are not being set in session when the field is not displayed

DescriptionColumns Stored In Session are not being set in session when the field is not displayed.

This session variables are not the ones from parent record.
Steps To ReproduceIn Application Dictionary go to Tables and Columns window.
Search Fin_Payment table and put stored in session c_costcenter_id column.
Go to Payment In window.
Create a header.
Realize that c_costecenter_id is not in session because Cost Center field is hidden

----------------------------------

1) Set the FIN_Paymentmethod_ID column of C_order as set in session
2) Set the Payment Method field as not displayed
3) Define a default value for the description field in c_order_line as follows: @FIN_Paymentmethod_ID@
4) Recompile and restart tomcat
5) Go to the Sales Order window, create a new record in the header. Go to the lines tab, notice that the description field has a default value which corresponds to the value of the FIN_Paymentmethod_ID
Proposed SolutionFind a patch attached with the solution
TagsNo tags attached.
Attached Filesdiff file icon FICSESSION.diff [^] (1,461 bytes) 2014-06-10 17:41 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0027584 closedinigosanchez Wrong value is taken from context when session variable and context field name are the same 

-  Notes
(0081998)
caristu (developer)
2015-11-19 18:55
edited on: 2015-11-19 18:55

Unable to reproduce. Updated the steps to reproduce to have a similar scenario. Is not reproducible in any case of both cases.

(0082309)
caristu (developer)
2015-11-24 18:23
edited on: 2015-11-24 18:23

Tested also with this flow:

1) Go to the [Windows, Tabs and Fields], look for the "Tables and Columns" window and hide (not displayed, not shown in grid) the Inherited From field of the "Role Access" tab.
2) Go to "Tables and Columns" window, the read only logics based on the Inherited From are not working.
3) Set in session the column related to the Inherited From field.
4) Go back to the "Tables and Columns" window, the read only logics are now working despite the field is hidden.


- Issue History
Date Modified Username Field Change
2014-06-10 17:41 umartirena New Issue
2014-06-10 17:41 umartirena Assigned To => AugustoMauch
2014-06-10 17:41 umartirena File Added: FICSESSION.diff
2014-06-10 17:41 umartirena Modules => Core
2014-06-10 17:41 umartirena Triggers an Emergency Pack => No
2015-03-17 14:38 alostale Assigned To AugustoMauch => platform
2015-11-06 11:49 alostale Relationship added related to 0027584
2015-11-06 11:49 alostale Status new => acknowledged
2015-11-11 11:34 alostale Priority normal => high
2015-11-19 18:53 caristu Steps to Reproduce Updated View Revisions
2015-11-19 18:53 caristu Status acknowledged => scheduled
2015-11-19 18:53 caristu Assigned To platform => caristu
2015-11-19 18:55 caristu Note Added: 0081998
2015-11-19 18:55 caristu Status scheduled => feedback
2015-11-19 18:55 caristu Note Edited: 0081998 View Revisions
2015-11-24 18:19 caristu Assigned To caristu => umartirena
2015-11-24 18:23 caristu Note Added: 0082309
2015-11-24 18:23 caristu Note Edited: 0082309 View Revisions


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker