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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013803
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersmajorhave not tried2010-06-28 13:532010-12-09 16:03
ReportershuehnerView Statuspublic 
Assigned Tomtaal 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionaf84e47e7be9
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50SCM revision 
Review Assigned To
Web browser
ModulesUser Interface Application
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

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

DescriptionOpening 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
Steps To ReproduceOpen Module window in new layout
Goto edit mode
Try the 'Module Language' link
See nothing happening in the UI
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0028816)
shuehner (administrator)
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 (administrator)
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 (administrator)
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 (developer)
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 (developer)
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 (administrator)
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.

- Issue History
Date Modified Username Field Change
2010-06-28 13:53 shuehner New Issue
2010-06-28 13:53 shuehner Assigned To => mtaal
2010-06-28 13:54 shuehner Note Added: 0028816
2010-06-28 13:56 shuehner Note Added: 0028817
2010-06-28 14:06 shuehner Note Added: 0028818
2010-06-28 14:11 shuehner Summary In 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:11 shuehner Description Updated View Revisions
2010-06-28 22:56 hgbot Checkin
2010-06-28 22:56 hgbot Note Added: 0028832
2010-06-28 22:56 hgbot Status new => resolved
2010-06-28 22:56 hgbot Resolution open => fixed
2010-06-28 22:56 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/af84e47e7be950e4079033e28d9e768438652dc0 [^]
2010-06-30 12:17 hudsonbot Checkin
2010-06-30 12:17 hudsonbot Note Added: 0028917
2010-06-30 15:07 shuehner Note Added: 0028920
2010-06-30 15:07 shuehner Status resolved => closed
2010-12-09 16:03 anonymous sf_bug_id 0 => 3133277


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker