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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027973
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2014-10-23 18:342014-12-30 23:26
ReporterjecharriView Statuspublic 
Assigned Toinigosanchez 
PriorityurgentResolutionfixedFixed in Version3.0PR15Q1
StatusclosedFix in branchpiFixed in SCM revision441ceb36bd06
ProjectionnoneETAnoneTarget Version3.0PR15Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned ToAugustoMauch
OBNetwork customerOBPS
Web browser
ModulesCore
Support ticket31129
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027973: Tree mode does not work if you insert session parameters in the tab HQL Where Clause

DescriptionTree mode does not work if you insert session parameters in the tab HQL Where Clause
Steps To Reproduce-Login as system
-Go to "windows,tab and fields"
-Select window "Organization"
-In the header tab add where clause
e.createdBy.id = @#AD_User_ID@

-Login to ERP as admin
-Go to organization window
-Verify that you can see data. If not go to "initial organization setup" process and create a generic org.
-verify that after that you are able to see the create organization
-press in "tree mode" and verify that no data is loaded
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0071802)
hgbot (developer)
2014-11-19 10:50

Repository: erp/devel/pi
Changeset: 441ceb36bd06be50e4f207d3703a906df8ad58b1
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Wed Nov 19 10:47:55 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/441ceb36bd06be50e4f207d3703a906df8ad58b1 [^]

Fix bug 27973:Tree mode does not work with session parameters in HQLWhereClause

Tree mode does not work if you insert session parameters in the tab HQL Where Clause. For example,
If it is inserted "e.createdBy.id = @#AD_User_ID@" in HQL Where Clause, the HQL Query can not substitute
the parameter #AD_User_ID that is a session parameter. The where clause will be " e.createdBy.id = 'null' ".

Now, substituteParameters() method can search session parameters and substitute them.

---
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/TreeDatasourceService.java
---
(0071951)
AugustoMauch (administrator)
2014-11-24 16:49

Code reviewed and verified in pi@441ceb36bd06
(0071970)
hgbot (developer)
2014-11-25 12:09

Repository: erp/devel/pi
Changeset: 2f6b08e9f45d47079733a1ee5deb388d19ae082b
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Nov 24 16:41:13 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/2f6b08e9f45d47079733a1ee5deb388d19ae082b [^]

Related with issue 27973: Fixes typo from comments

---
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/TreeDatasourceService.java
---
(0073084)
hudsonbot (viewer)
2014-12-30 23:25

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/6525fe229e06 [^]
Maturity status: Test
(0073134)
hudsonbot (viewer)
2014-12-30 23:26

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/6525fe229e06 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2014-10-23 18:34 jecharri New Issue
2014-10-23 18:34 jecharri Assigned To => AugustoMauch
2014-10-23 18:34 jecharri OBNetwork customer => Yes
2014-10-23 18:34 jecharri Modules => Core
2014-10-23 18:34 jecharri Support ticket => 31129
2014-10-23 18:34 jecharri Resolution time => 1418166000
2014-10-23 18:34 jecharri Triggers an Emergency Pack => No
2014-10-24 20:13 jecharri Resolution time 1418166000 => 1416265200
2014-10-27 11:35 AugustoMauch Target Version => 3.0PR15Q1
2014-11-04 16:16 alostale Assigned To AugustoMauch => inigosanchez
2014-11-19 10:49 inigosanchez Issue Monitored: AugustoMauch
2014-11-19 10:49 inigosanchez Review Assigned To => AugustoMauch
2014-11-19 10:49 inigosanchez Resolution open => fixed
2014-11-19 10:50 hgbot Checkin
2014-11-19 10:50 hgbot Note Added: 0071802
2014-11-19 16:31 inigosanchez Status new => scheduled
2014-11-20 10:10 AugustoMauch Status scheduled => resolved
2014-11-20 10:10 AugustoMauch Fixed in SCM revision => 441ceb36bd06be50e4f207d3703a906df8ad58b1
2014-11-20 10:12 AugustoMauch Status resolved => new
2014-11-20 10:12 AugustoMauch Resolution fixed => open
2014-11-20 10:12 AugustoMauch Status new => scheduled
2014-11-20 10:12 AugustoMauch fix_in_branch => pi
2014-11-20 10:12 AugustoMauch Status scheduled => resolved
2014-11-20 10:12 AugustoMauch Fixed in SCM revision 441ceb36bd06be50e4f207d3703a906df8ad58b1 => https://code.openbravo.com/erp/devel/pi/rev/441ceb36bd06be50e4f207d3703a906df8ad58b1 [^]
2014-11-20 10:12 AugustoMauch Resolution open => fixed
2014-11-24 16:49 AugustoMauch Note Added: 0071951
2014-11-24 16:49 AugustoMauch Status resolved => closed
2014-11-24 16:49 AugustoMauch Fixed in Version => 3.0PR15Q1
2014-11-25 12:09 hgbot Checkin
2014-11-25 12:09 hgbot Note Added: 0071970
2014-12-30 23:25 hudsonbot Checkin
2014-12-30 23:25 hudsonbot Note Added: 0073084
2014-12-30 23:26 hudsonbot Checkin
2014-12-30 23:26 hudsonbot Note Added: 0073134


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker