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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031529
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformmajorhave not tried2015-11-19 10:142022-02-01 08:09
ReporterasiermartirenaView Statuspublic 
Assigned ToTriage Platform Base 
PriorityurgentResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031529: Extension needed in SessionLogin.java to save new columns values when saving new sessions

DescriptionThere are cases where is necessary to find some sessions (from ad_session) depending on the organization in which was created. Now, all sessions are saved with '*' organization.

There are at least two ways to address this problem:
- Avoid always using the '*' organization when a session is created, and instead use the organization included in the parameters of the request
- Include a new column in the ad_session table, set it to the proper organization when the session is created and then use it to retrieve the session that belong to a certain organization.

Probably the second option is less risky. There might be code that is assuming that ad_org_id column of the sessions will always use the '*' organization, so the first option could have unexpected consequences.

The second option would require to extend SessionLogin to initialize column defined in other modules, as the development that requires will be part of the posterminal module.
Steps To ReproduceAdd a new hook in save() function, in SessionLogin.java class.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0095552)
hudsonbot (developer)
2017-03-23 20:41

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/dd3f45964ae4 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2015-11-19 10:14 asiermartirena New Issue
2015-11-19 10:14 asiermartirena Assigned To => platform
2015-11-19 10:14 asiermartirena Modules => Core
2015-11-19 10:14 asiermartirena Triggers an Emergency Pack => No
2015-11-19 10:24 AugustoMauch Description Updated View Revisions
2017-03-23 14:55 hgbot Checkin
2017-03-23 14:55 hgbot Note Added: 0095532
2017-03-23 16:37 markmm82 Note Deleted: 0095532
2017-03-23 20:41 hudsonbot Checkin
2017-03-23 20:41 hudsonbot Note Added: 0095552
2022-02-01 08:09 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker