Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013803Openbravo ERPZ. Otherspublic2010-06-28 13:532010-12-09 16:03
shuehner 
mtaal 
urgentmajorhave not tried
closedfixed 
5
2.50 
 
User Interface Application
No
0013803: In classic windows opened in new layout links to i.e. ad_language table are broken
Opening a classic window in the new layout (i.e. Module) in edit mode and trying any link to ad_language table does not work.

Probably as ad_language is special as fk-column pointing to it do not contain an uuid but ad_langauge.language (i.e. en_US)

Tested on FF3.6.4
Open Module window in new layout
Goto edit mode
Try the 'Module Language' link
See nothing happening in the UI
No tags attached.
Issue History
2010-06-28 13:53shuehnerNew Issue
2010-06-28 13:53shuehnerAssigned To => mtaal
2010-06-28 13:54shuehnerNote Added: 0028816
2010-06-28 13:56shuehnerNote Added: 0028817
2010-06-28 14:06shuehnerNote Added: 0028818
2010-06-28 14:11shuehnerSummaryIn classic windows opened in new layout all links are broken => In classic windows opened in new layout links to i.e. ad_language table are broken
2010-06-28 14:11shuehnerDescription Updatedbug_revision_view_page.php?rev_id=554#r554
2010-06-28 22:56hgbotCheckin
2010-06-28 22:56hgbotNote Added: 0028832
2010-06-28 22:56hgbotStatusnew => resolved
2010-06-28 22:56hgbotResolutionopen => fixed
2010-06-28 22:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/af84e47e7be950e4079033e28d9e768438652dc0 [^]
2010-06-30 12:17hudsonbotCheckin
2010-06-30 12:17hudsonbotNote Added: 0028917
2010-06-30 15:07shuehnerNote Added: 0028920
2010-06-30 15:07shuehnerStatusresolved => closed
2010-12-09 16:03anonymoussf_bug_id0 => 3133277

Notes
(0028816)
shuehner   
2010-06-28 13:54   
Note a request is send when clicking on the link:
http://localhost:8080/openbravo//utility/ReferencedLink.html?Command=JSON&IsAjaxCall=1&inpCommandType=EDIT&inpTabId=F53E35A11C564F20BE4082A7B8CFF6B7&inpParamSessionDate=&inpLastFieldChanged=&inpwindowId=D586192D06C14EC182B44CAD34CA4295&inpkeyColumnId=AD_Module_ID&inpTableId=9D36D488605044F5A0264D7C8B916657&inpKeyName=inpadModuleId&inpkeyColumnIdInp=&inpKeyReferenceColumnName=AD_Language&inpTableReferenceId=111&inpKeyReferenceId=en_US&inpSecondKey=0&inpParentKeyColumn=&mappingName=%2FModule%2FModule_Relation.html&autosave=N&updatedTimestamp=20100621150149&inpseqno=&inpadModuleId=0&inpupdateAvailable=&inpupdateVerId=&inpadClientId=0&inpadOrgId=0&inpisactive=Y&inpname=core&inpjavapackage=org.openbravo&inpversion=2.50.17411&inpversionLabel=dev&inpversionId=2bb8b66dc882%2B&inptype=M&inpdescription=Core%2520module%2520is%2520the%2520base%2520one&inphelp=Core%2520module%2520is%2520the%2520base%2520one%252C%2520all%2520developments%2520in%2520core%2520are%2520included%2520as%2520part%2520of%2520the%2520standard%2520Openbravo%2520ERP.&inpistranslationrequired=Y&inpadLanguage=en_US&inphasreferencedata=Y&inpreferencedatainfo=&inplicensetype=OBPL&inplicense=Licensed%2520under%2520the%2520Openbravo%2520Public%2520License%2520version%25201.0.%250AYou%2520may%2520obtain%2520a%2520copy%2520of%2520the%2520License%2520at%2520http%253A%2F%2Fwww.openbravo.com%2Flegal%2Flicense.html%2520or%2520in%2520the%2520legal%2520folder%2520of%2520the%2520Openbravo%2520ERP%2520core%2520distribution.&inpauthor=Openbravo%2520SLU&inpurl=www.openbravo.com&inpstatus=A&inpupdateinfo=&inpisregistered=N&inpcreated=24-05-2010%252013%253A40%253A59&inpcreatedby=&inpcreatedby_R=System&inpupdated=21-06-2010%252015%253A01%253A49&inpupdatedby=100&inpupdatedby_R=Openbravo [^]

response:
{"tabId":"112","windowId":"106","keyParameter":"inpadLanguageId","tabTitle":"Language","mappingName":"\/Language\/Language_Edition.html"}

However no action in the UI can be seen
(0028817)
shuehner   
2010-06-28 13:56   
The following error in the logfile/eclipse-console can be seen per click on the mentioned link in the UI:

1055322 [http-8080-1] ERROR org.openbravo.base.VariablesBase - Input: en_US not accepted by filter: org.openbravo.base.filter.IsIDFilter@6a4684c8
(0028818)
shuehner   
2010-06-28 14:06   
Location of error shown above:
73860 [http-8080-3] ERROR org.openbravo.base.VariablesBase - Input: en_US not accepted by filter: org.openbravo.base.filter.IsIDFilter@48000a74
java.lang.Throwable
    at org.openbravo.base.VariablesBase.filterRequest(VariablesBase.java:119)
    at org.openbravo.base.VariablesBase.getStringParameter(VariablesBase.java:891)
    at org.openbravo.base.VariablesBase.getStringParameter(VariablesBase.java:665)
    at org.openbravo.base.VariablesBase.getStringParameter(VariablesBase.java:819)
    at org.openbravo.erpCommon.utility.ReferencedLink.getJSON(ReferencedLink.java:86)
    at org.openbravo.erpCommon.utility.ReferencedLink.doPost(ReferencedLink.java:78)
(0028832)
hgbot   
2010-06-28 22:56   
Repository: erp/devel/pi
Changeset: af84e47e7be950e4079033e28d9e768438652dc0
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Jun 28 22:56:17 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/af84e47e7be950e4079033e28d9e768438652dc0 [^]

fixes issue 13803: In classic windows opened in new layout links to i.e. ad_language table are broken

---
M src/org/openbravo/erpCommon/utility/ReferencedLink.java
---
(0028917)
hudsonbot   
2010-06-30 12:17   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/af84e47e7be9 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/0670375d782d [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17726.obx [^]
(0028920)
shuehner   
2010-06-30 15:07   
Tested using pi from hg, rev: 6c61fa667950
No also links to language table in classic windows inside the new layout are working fine.