Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0039531 | Openbravo ERP | A. Platform | public | 2018-10-24 13:41 | 2018-12-11 20:22 |
Reporter | guillermogil | ||||
Assigned To | caristu | ||||
Priority | normal | Severity | major | Reproducibility | random |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | 3.0PR19Q1 | |||
Merge Request Status | |||||
Review Assigned To | alostale | ||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0039531: Generated JS can be different from SS to CS due to a missing orderBy in Component Provider structure | ||||
Description | Generated JS can be different from SS to CS due to a missing orderBy in Component Provider structure. It may happen when modules have same dependencies and the query does not order it. In the case different JS files are generated a popup saying "your application has changed" will rise and will require to logout. If you login again same popup will rise. | ||||
Steps To Reproduce | 1) Apply the patch: sortAscending.diff. This patch retrieves the modules to calculate their dependencies in ascending order by ID. Rebuild the application. 2) Login in Openbravo. 3) Check the name of the JS file containing the static resources in web/js/gen 4) Revert the patch applied in 1) 5) Apply the patch: sortDescending.diff. This patch retrieves the modules to calculate their dependencies in descending order by ID. Rebuild the application. 6) Login in Openbravo. 7) Check the name of the JS file and notice that is different from the name in step 3) although the static resources have not been modified. | ||||
Proposed Solution | In KernelUtils.getModulesOrderedByDependency(), retrieve the modules from DB using a fixed sorting criteria. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | sortAscending.diff (1,071) 2018-10-24 17:34 https://issues.openbravo.com/file_download.php?file_id=12315&type=bug sortDescending.diff (1,072) 2018-10-24 17:34 https://issues.openbravo.com/file_download.php?file_id=12316&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2018-10-24 13:41 | guillermogil | New Issue | |||
2018-10-24 13:41 | guillermogil | Assigned To | => platform | ||
2018-10-24 13:41 | guillermogil | Modules | => Core | ||
2018-10-24 13:41 | guillermogil | Triggers an Emergency Pack | => No | ||
2018-10-24 13:43 | guillermogil | File Added: fixDifferentVersionMultiServer.diff | |||
2018-10-24 16:21 | guillermogil | Description Updated | bug_revision_view_page.php?rev_id=17838#r17838 | ||
2018-10-24 17:32 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=17840#r17840 | ||
2018-10-24 17:33 | caristu | Assigned To | platform => caristu | ||
2018-10-24 17:34 | caristu | File Added: sortAscending.diff | |||
2018-10-24 17:34 | caristu | File Added: sortDescending.diff | |||
2018-10-24 17:34 | caristu | File Deleted: fixDifferentVersionMultiServer.diff | |||
2018-10-24 17:35 | caristu | Proposed Solution updated | |||
2018-10-24 17:50 | hgbot | Checkin | |||
2018-10-24 17:50 | hgbot | Note Added: 0107554 | |||
2018-10-24 17:50 | hgbot | Status | new => resolved | ||
2018-10-24 17:50 | hgbot | Resolution | open => fixed | ||
2018-10-24 17:50 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/69d55ed0f71cde21030a141595a68e129cf25898 [^] | ||
2018-10-24 17:51 | caristu | Review Assigned To | => alostale | ||
2018-10-24 17:56 | hgbot | Checkin | |||
2018-10-24 17:56 | hgbot | Note Added: 0107555 | |||
2018-10-26 08:48 | alostale | Note Added: 0107608 | |||
2018-10-26 08:48 | alostale | Status | resolved => closed | ||
2018-10-26 08:48 | alostale | Fixed in Version | => 3.0PR19Q1 | ||
2018-12-11 20:22 | hudsonbot | Checkin | |||
2018-12-11 20:22 | hudsonbot | Note Added: 0108441 | |||
2018-12-11 20:22 | hudsonbot | Checkin | |||
2018-12-11 20:22 | hudsonbot | Note Added: 0108442 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|