Openbravo Issue Tracking System - Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0039837 | Modules | Resource and Reservation Management | public | 2018-12-19 13:53 | 2019-01-08 08:10 |
Reporter | caristu | ||||
Assigned To | AtulOpenbravo | ||||
Priority | high | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Regression date | |||||
Regression introduced by commit | |||||
Regression level | |||||
Review Assigned To | Sandrahuguet | ||||
Support ticket | |||||
OBNetwork customer | |||||
Regression introduced in release | |||||
Summary | 0039837: dateIsWorkday function performance should be improved | ||||
Description | When the resources calendar is drawn/redrawn, the dateIsWorkDay function[1] function is executed for every calendar cell to determine if they are available or not for entering reservations. This impacts on the time spent to show/refresh the calendar [1] https://code.openbravo.com/erp/pmods/org.openbravo.module.resources/file/tip/web/org.openbravo.module.resources/js/calendar/ob-resourcescalendar-widget.js#l1247 [^] | ||||
Steps To Reproduce | 1) Using Chrome's Performance profiler measure the times spent to load the resources and reservation calendar 2) Note that the most part of the time is spent in the dateIsWorkDay function. Attached are some screenshots of the numbers retrieved with the profiler (when opening the resources calendar from a POS-Terminal). | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | Performance | ||||
Relationships | |||||
Attached Files | callTree.png (186,523) 2018-12-19 13:54 https://issues.openbravo.com/file_download.php?file_id=12442&type=bug dateIsWorkDay.png (187,376) 2018-12-19 13:57 https://issues.openbravo.com/file_download.php?file_id=12444&type=bug dateIsWorkDay2.png (217,241) 2018-12-19 13:57 https://issues.openbravo.com/file_download.php?file_id=12445&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2018-12-19 13:53 | caristu | New Issue | |||
2018-12-19 13:53 | caristu | Assigned To | => Triage Finance | ||
2018-12-19 13:53 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=18064#r18064 | ||
2018-12-19 13:54 | caristu | Description Updated | bug_revision_view_page.php?rev_id=18066#r18066 | ||
2018-12-19 13:54 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=18067#r18067 | ||
2018-12-19 13:54 | caristu | File Added: callTree.png | |||
2018-12-19 13:54 | caristu | File Added: dateIsWorkDay2.png | |||
2018-12-19 13:56 | caristu | Description Updated | bug_revision_view_page.php?rev_id=18068#r18068 | ||
2018-12-19 13:57 | caristu | File Deleted: dateIsWorkDay2.png | |||
2018-12-19 13:57 | caristu | File Added: dateIsWorkDay.png | |||
2018-12-19 13:57 | caristu | File Added: dateIsWorkDay2.png | |||
2018-12-19 17:40 | dmitry_mezentsev | Severity | minor => major | ||
2018-12-19 17:47 | Sandrahuguet | Tag Attached: Performance | |||
2018-12-24 11:15 | AtulOpenbravo | Status | new => scheduled | ||
2018-12-27 16:30 | Sandrahuguet | Assigned To | Triage Finance => AtulOpenbravo | ||
2019-01-04 08:30 | hgbot | Checkin | |||
2019-01-04 08:30 | hgbot | Note Added: 0108823 | |||
2019-01-04 08:30 | hgbot | Status | scheduled => resolved | ||
2019-01-04 08:30 | hgbot | Resolution | open => fixed | ||
2019-01-04 08:30 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.module.resources/rev/50b01843cbd7869e8d1a3e76dc4938ce6d1ab384 [^] | ||
2019-01-04 08:30 | hgbot | Checkin | |||
2019-01-04 08:30 | hgbot | Note Added: 0108824 | |||
2019-01-04 08:38 | Sandrahuguet | Review Assigned To | => Sandrahuguet | ||
2019-01-04 08:38 | Sandrahuguet | Note Added: 0108825 | |||
2019-01-04 08:38 | Sandrahuguet | Status | resolved => closed | ||
2019-01-08 08:10 | hgbot | Checkin | |||
2019-01-08 08:10 | hgbot | Note Added: 0108849 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|