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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047987
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2021-11-04 12:582022-01-10 08:37
ReportershuehnerView Statuspublic 
Assigned Toshuehner 
PrioritynormalResolutionfixedFixed in VersionPR22Q2
StatusclosedFix 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

0047987: Remove obsolete storeserver related code from backoffice

DescriptionLogin flow still has some code to 'Restrict backoffice access for storeservers'.

Storeserver is long obsolete so that code should be removed as cleanup.
Steps To Reproducein backoffice workspace
grep -Iir storeserver
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 0047989 closedshuehner Retail Modules Remove obsolete storeserver related code from posterminal 
depends on defect 0048000 closedshuehner Retail Modules Remove obsolete storeserver related code from mobile.core 
depends on defect 0048363 closedalostale Openbravo ERP API change: removed store server code from login flow 

-  Notes
(0132880)
hgbot (developer)
2021-11-06 11:47

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/451 [^]
(0134156)
hgbot (developer)
2022-01-10 08:37

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 34da82586f3de4ae8ec2c2b22d34e5d12825c927
Author: Stefan Huehner <stefan.huehner@openbravo.com>
Date: 10-01-2022 08:12:58
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/34da82586f3de4ae8ec2c2b22d34e5d12825c927 [^]

Fixes ISSUE-47987 Remove obsolete storeserver code

This removes obsolete code leftover from the storeserver project.
Specifically the isLoginAccessRestrictedInStoreServer() code which
allowed to prevent backoffice logins in a storeserver.

As the isThisAStoreServer() condition cannot be true any it is just dead
code

- LoginHandler remove all code conditional on isThisAStoreServer()
  - Also remove vars.removeSessionValue("OnlySystemAdminAccess")
    as that session value name is not referenced anywhere else at all
    so it seems to have no purpose.
- Remove the "RestrictErpAccessInStoreServer" preference completely
  and also it being cached in CachedPreferences
- Finally remove the ServerControllerHandler and ServerController logic
  as it was only useful in context of the storeserver project.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/CachedPreference.java
M src-db/database/sourcedata/AD_REF_LIST.xml
M src/org/openbravo/base/secureApp/LoginHandler.java
R src/org/openbravo/server/ServerController.java
R src/org/openbravo/server/ServerControllerHandler.java
---
(0134157)
hgbot (developer)
2022-01-10 08:37

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/451 [^]

- Issue History
Date Modified Username Field Change
2021-11-04 12:58 shuehner New Issue
2021-11-04 12:58 shuehner Assigned To => shuehner
2021-11-04 12:58 shuehner Modules => Core
2021-11-04 12:58 shuehner Triggers an Emergency Pack => No
2021-11-04 13:34 shuehner Relationship added depends on 0047989
2021-11-06 11:34 shuehner Relationship added depends on 0048000
2021-11-06 11:47 hgbot Note Added: 0132880
2022-01-10 07:56 alostale Relationship added depends on 0048363
2022-01-10 08:37 hgbot Resolution open => fixed
2022-01-10 08:37 hgbot Status new => closed
2022-01-10 08:37 hgbot Fixed in Version => PR22Q2
2022-01-10 08:37 hgbot Note Added: 0134156
2022-01-10 08:37 hgbot Note Added: 0134157


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker