Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0048214 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2021-12-09 14:07 | 2021-12-09 14:19 | |||||||
Reporter | alostale | View Status | public | |||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0048214: Simplify SeguridadData.selectAccess method | |||||||||||
Description | SeguridadData.selectAccess method is over complicated it concatenates several sql union statements. | |||||||||||
Steps To Reproduce | Check https://gitlab.com/openbravo/product/openbravo/-/blob/c4c1c2e295e904fe0dd25f189547a8c8ea3bda41/src/org/openbravo/base/secureApp/Seguridad_data.xsql#L120 [^] | |||||||||||
Proposed Solution | * The only user of this method is HSAS.hasGeneralAccess which already knows the type so the method could be split accordingly. * Review the "special" case of IDs 800017 and 800018, is this still valid * Review the last AD_Process union, does it make sense? * Review inverse logic for TABLE type * Review/remove IsExternalService union case as deprecated/unused by 0048206 | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2021-12-09 14:07 | alostale | New Issue | |
2021-12-09 14:07 | alostale | Assigned To | => Triage Platform Base |
2021-12-09 14:07 | alostale | Modules | => Core |
2021-12-09 14:07 | alostale | Triggers an Emergency Pack | => No |
2021-12-09 14:17 | alostale | Relationship added | related to 0048206 |
2021-12-09 14:19 | shuehner | Issue Monitored: shuehner |
Copyright © 2000 - 2009 MantisBT Group |