details:   https://code.openbravo.com/erp/devel/pi/rev/9ca3a8d726f5
changeset: 24153:9ca3a8d726f5
user:      Shankar Balachandran <shankar.balachandran <at> openbravo.com>
date:      Mon Aug 04 12:16:50 2014 +0530
summary:   Fixes issue 0027094: Error after opening a saved view ordered by a 
foreign key column in the Role window

Added alias to hql where clause. When foreign key column is used a join is 
created, so client.id will not resolved properly.

diffstat:

 src-db/database/sourcedata/AD_TAB.xml |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r bae6b944d95a -r 9ca3a8d726f5 src-db/database/sourcedata/AD_TAB.xml
--- a/src-db/database/sourcedata/AD_TAB.xml     Mon Aug 04 08:40:38 2014 +0200
+++ b/src-db/database/sourcedata/AD_TAB.xml     Mon Aug 04 12:16:50 2014 +0530
@@ -573,7 +573,7 @@
 <!--119-->  <ISSORTTAB><![CDATA[N]]></ISSORTTAB>
 <!--119-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--119-->  <UIPATTERN><![CDATA[STD]]></UIPATTERN>
-<!--119-->  <HQLWHERECLAUSE><![CDATA[client.id = 
@#ad_client_id@]]></HQLWHERECLAUSE>
+<!--119-->  <HQLWHERECLAUSE><![CDATA[e.client.id = 
@#ad_client_id@]]></HQLWHERECLAUSE>
 <!--119-->  <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
 <!--119-->  
<DISABLE_PARENT_KEY_PROPERTY><![CDATA[N]]></DISABLE_PARENT_KEY_PROPERTY>
 <!--119-->  <ISREADONLYTREE><![CDATA[N]]></ISREADONLYTREE>

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to