Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0036098 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Retail Modules] Web POS | major | have not tried | 2017-05-25 11:30 | 2017-06-13 17:50 | |||||||
Reporter | Sandrahuguet | View Status | public | |||||||||
Assigned To | jorge-garcia | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | scheduled | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||||||
OS Version | Community Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0036098: getAllPreferences function is called twice during the login | |||||||||||
Description | getAllPreferences function is called twice during the login. The function is called in LoginUtils and RolePermissions. | |||||||||||
Steps To Reproduce | N/A | |||||||||||
Proposed Solution | RolePermissions call is not necessary, the preferences should be read from the session | |||||||||||
Tags | Performance | |||||||||||
Attached Files | 36098.diff [^] (2,930 bytes) 2017-06-13 17:50 [Show Content] | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0097358) marvintm (manager) 2017-06-13 12:33 |
The idea of the change was to read the preference values from the session. However, this would be a behavior change in the Web POS, as currently every refresh of the page loads the preference and it would no longer be the case once this change is done. So we need to discuss internally whether the performance improvement justifies this change. |
Issue History | |||
Date Modified | Username | Field | Change |
2017-05-25 11:30 | Sandrahuguet | New Issue | |
2017-05-25 11:30 | Sandrahuguet | Assigned To | => Retail |
2017-05-25 11:30 | Sandrahuguet | Resolution time | => 1497477600 |
2017-05-25 11:30 | Sandrahuguet | Triggers an Emergency Pack | => No |
2017-05-25 11:36 | Sandrahuguet | Proposed Solution updated | |
2017-06-05 13:44 | jorge-garcia | Status | new => scheduled |
2017-06-05 13:44 | jorge-garcia | Assigned To | Retail => jorge-garcia |
2017-06-07 08:57 | Sandrahuguet | Tag Attached: Performance | |
2017-06-13 12:33 | marvintm | Note Added: 0097358 | |
2017-06-13 12:33 | marvintm | Resolution time | 1497477600 => |
2017-06-13 17:50 | jorge-garcia | File Added: 36098.diff |
Copyright © 2000 - 2009 MantisBT Group |