Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0009407 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] C. Security | major | always | 2009-06-09 13:36 | 2009-06-27 00:00 | |||
| Reporter | networkb | View Status | public | |||||
| Assigned To | alostale | |||||||
| Priority | immediate | Resolution | fixed | Fixed in Version | main | |||
| Status | closed | Fix in branch | pi | Fixed in SCM revision | 204e71d99682 | |||
| Projection | none | ETA | none | Target Version | ||||
| OS | Linux 64 bit | Database | Oracle | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | 2.40MP3 | SCM revision | ||||||
| Merge Request Status | ||||||||
| Review Assigned To | ||||||||
| OBNetwork customer | OBPS | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0009407: The login variable @#AD_User_ID@ is not being properly used. | |||||||
| Description | The login variable @#AD_User_ID@ is not being properly used. This variable is being compared with the correct value. Is being compared with the value in @AD_User_ID@ instead of @#AD_User_ID@ | |||||||
| Steps To Reproduce | -Login as system administrator -Go to window,tabs and fiel window. -find the Partner window and go to the partner (header) tab -Add a new where clause as follwing: C_BPARTNER.Createdby = @#AD_User_ID@ This clause is added in order to see in the window only the partner created by the logged partner. -Compile the partner window: ant compile.development -Dtab=Partner -Restar tomcat -Login as openbravo admin -Go to partner window (master data management>partner) -Create a new partner -Go to contact tab. -Create a new contact. -In edition mode the contact is not shown but in relation it is. -Go back to the header tab. The previously created partner is shown in realation but not in edition view. This happens because once you enter in the contact window the AD_USER_ID variable is filled because the table used in this window is the AD_USER, and then the where clause defined does not work properly because the the @AD_USER_ID@ variable is used instead of @#AD_USER_ID@ variable. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|||||||||||||||
|
|||||||||||||||
Notes |
|
|
(0017140) rafaroda (viewer) 2009-06-09 17:05 |
Asier, could you please determine whether the usage of the variable is correct or not? Thanks. |
|
(0017183) hgbot (developer) 2009-06-10 15:34 |
Repository: erp/devel/pi Changeset: 204e71d99682bf24751354ca5b17b850921f3abb Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Wed Jun 10 15:34:15 2009 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/204e71d99682bf24751354ca5b17b850921f3abb [^] fixed bug 0009407: The login variable @#AD_User_ID@ is not being properly used. --- M src-wad/src/org/openbravo/wad/Wad.java M src-wad/src/org/openbravo/wad/WadUtility.java --- |
|
(0017184) alostale (viewer) 2009-06-10 15:35 |
Note to QA: When reviewing this bug, please note that the fix includes a modification in the way parameters for session values are managed in WAD windows. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2009-06-09 13:36 | networkb | New Issue | |
| 2009-06-09 13:36 | networkb | Assigned To | => rafaroda |
| 2009-06-09 13:36 | networkb | OBNetwork customer | => Yes |
| 2009-06-09 17:05 | rafaroda | Note Added: 0017140 | |
| 2009-06-09 17:05 | rafaroda | Assigned To | rafaroda => alostale |
| 2009-06-10 11:16 | rafaroda | Relationship added | related to 0006381 |
| 2009-06-10 15:34 | hgbot | Checkin | |
| 2009-06-10 15:34 | hgbot | Note Added: 0017183 | |
| 2009-06-10 15:34 | hgbot | Status | new => resolved |
| 2009-06-10 15:34 | hgbot | Resolution | open => fixed |
| 2009-06-10 15:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/204e71d99682bf24751354ca5b17b850921f3abb [^] |
| 2009-06-10 15:35 | alostale | Note Added: 0017184 | |
| 2009-06-10 16:47 | psarobe | Status | resolved => new |
| 2009-06-10 16:47 | psarobe | Resolution | fixed => open |
| 2009-06-10 17:11 | psarobe | Status | new => scheduled |
| 2009-06-10 17:11 | psarobe | fix_in_branch | => pi |
| 2009-06-10 17:11 | psarobe | Status | scheduled => resolved |
| 2009-06-10 17:11 | psarobe | Resolution | open => fixed |
| 2009-06-22 11:09 | psarobe | Fixed in Version | => main |
| 2009-06-26 17:19 | psarobe | Status | resolved => closed |
| 2009-06-27 00:00 | anonymous | sf_bug_id | 0 => 2813026 |
| Copyright © 2000 - 2009 MantisBT Group |