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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0002865
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfaceminoralways2008-04-15 12:542008-06-12 09:43
ReporterplujanView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version2.40alpha-r2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0002865: QA-AUDIT Link Created by and Updated by do not work properly

DescriptionDescription:
The new Auditory fields "Created by" and "Updated by" do not link to correct tab. They try to open the "Contact" tab of Business Partner window instead of "User" tab of User window.

Steps:
1. Login with an user that is not a contact of any Business Partner
2. Create some data (example: a Purchase Order) and save.
3. Review the Auditory fields and follow the "Created by" link. An error appears "Parent record not found".
4. Login with an user that is a contact of certain BP
5. Create data and review Auditory.
6. Note that it is possible to navigate the link, but the Contact tab of Business Partner is shown instead of User tab of User window.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0003535)
alostale (viewer)
2008-05-09 15:56
edited on: 2008-06-12 09:25

Logged In: YES
user_id=1500722
Originator: NO

The problem was that the link was trying to navigate to Business Partner/Contact. This happened because the window in ad_user table was set as business partner (why?).

I've changed it to user. If this causes any problem reference link could be treated as an special case modifying ReferenceLink.java (ln72):
   if (strTableRealReference.equals("114")) { //AD_User
          strWindowId = "108";
        } else {
          ReferencedLinkData[] data = ReferencedLinkData.selectWindows(this, strTableRealReference);
          if (data==null || data.length==0) throw new ServletException("Window not found");
  
          strWindowId = data[0].adWindowId;
          if (!isSOTrx && !data[0].poWindowId.equals("")) strWindowId = data[0].poWindowId;
        }

r4098.
(0006454)
user71
2005-06-01 00:00
edited on: 2008-06-12 09:43

This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1942877 [^]

- Issue History
Date Modified Username Field Change


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker