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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0007026
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2009-01-20 13:402009-04-21 12:39
ReporterroklenardicView Statuspublic 
Assigned Toalostale 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision12757
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_10
OS VersionUbuntu 8.10Database version8.3.5Ant version1.7.1
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0007026: Links to new module windows do not work

DescriptionImagine the scenario:
- you create two new tables, Hotel_Stay and Hotel_Guest
- Hotel_Stay has a foreign key to Hotel_Guest
- when defining Tables & Columns in the Application Dictionary, one needs to select the corresponding window for each of the tables above where the user will be taken whenever one of their elements is shown
- WAD then creates links in the form of
onclick="sendDirectLink(document.frmMain, 'C_BPartner_ID', document.frmMain.inpcOrderId.value, '../utility/ReferencedLink.html', document.frmMain.inpcBpartnerId.value, '291', '_self', true);return false;"
which will on click take the user to the /BusinessPartner/BusinessPartner_Edition.html window and show the corresponding window.
- However, this only works for standard windows like a Sales Order. If creating a window based on the above Hotel_Stay, the link to the Hotel_Guest will be constructed wrongly. the sendDirectLink redirects the user to the /Guest/Header_Edition.html window which doesn't exist. The correct URL of the Guest window that belongs to com.mycompany.hotel module is /com.mycompany.hotelGuest/Header_Relation.html.
That's how the particular tab is mapped within the application dictionary.

Proposed SolutionThe sendDirectLink function needs to be fixed in order to construct the mapping module windows correctly or the trigger for entering a new tab needs to be altered to adhere to the expected window/tab mapping.
TagsModularity
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0007089 closedalostale Dynamic redirect to tabs do not work for modules in manual code 

-  Notes
(0013130)
svnbot (reporter)
2009-02-04 13:01

Repository: openbravo
Revision: 12757
Author: alostale
Date: 2009-02-04 13:01:29 +0100 (Wed, 04 Feb 2009)

fixed bug 0007026: Links to new module windows do not work

---
U trunk/src/org/openbravo/erpCommon/utility/ReferencedLink.java
U trunk/src/org/openbravo/erpCommon/utility/ReferencedLink_data.xsql
---

https://dev.openbravo.com/websvn/openbravo/?rev=12757&sc=1 [^]

- Issue History
Date Modified Username Field Change
2009-01-20 13:40 roklenardic New Issue
2009-01-20 13:40 roklenardic Assigned To => rafaroda
2009-01-20 13:40 roklenardic sf_bug_id 0 => 2523550
2009-01-20 13:40 roklenardic Regression testing => No
2009-01-20 19:03 rafaroda Tag Attached: Modularity
2009-01-21 06:18 pjuvara Priority normal => high
2009-01-21 06:18 pjuvara Severity minor => major
2009-01-21 06:18 pjuvara version => trunk
2009-01-30 12:02 psarobe Assigned To rafaroda => alostale
2009-01-30 12:02 psarobe Status new => scheduled
2009-01-30 15:44 alostale Relationship added related to 0007089
2009-02-04 13:01 svnbot Checkin
2009-02-04 13:01 svnbot Note Added: 0013130
2009-02-04 13:01 svnbot Status scheduled => resolved
2009-02-04 13:01 svnbot Resolution open => fixed
2009-02-04 13:01 svnbot svn_revision => 12757
2009-04-21 12:39 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker