Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0044605 | Openbravo ERP | Z. Others | public | 2020-07-13 17:06 | 2020-09-03 08:47 | |||||||
Reporter | shuehner | |||||||||||
Assigned To | AugustoMauch | |||||||||||
Priority | normal | 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 | ||||||||||||
Review Assigned To | ||||||||||||
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 | 0044605: module creating wiki documentation is causing wiki edits with formal changes only (missing stable ordering) | |||||||||||
Description | Code from this module: https://gitlab.com/openbravo/tools/wiki/org.openbravo.utility.wikidoc [^] which is used in ci job called 'documentation' running weekly is uploading different version of wiki 'randomly' because it create same content but in different order. Apart of being conceptually wrong also makes: - Reviewing history of changes in wiki very hard - Probably having performance, database size impact in the wiki server itself (unclear how big) Example change: diff -ur wiki-updated-dump/Warehouse-Management.wiki wiki-pi/Warehouse-Management.wiki --- wiki-updated-dump/Warehouse-Management.wiki 2020-07-13 15:24:11.698113035 +0200 +++ wiki-pi/Warehouse-Management.wiki 2020-07-13 15:10:33.704009145 +0200 @@ -24,8 +24,8 @@ ==== Setup ==== {{ManualDoc:SectionWarehouse Management Setup(Openbravo Admin)}} -*[[Process Price Difference Adjustment | Process Price Difference Adjustment]] *[[Reset Unit Cost | Reset Unit Cost]] +*[[Process Price Difference Adjustment | Process Price Difference Adjustment]] *[[Warehouse and Storage Bins | Warehouse and Storage Bins]] *[[Costing Rules | Costing Rules]] *[[Costing Algorithm | Costing Algorithm]] | |||||||||||
Steps To Reproduce | - | |||||||||||
Proposed Solution | Review code reading content from database and review if every query does have an explicit 'stable' order by. Doing SQL queries without and 'order by' by definition can have random output order even if 'most of the time' the order is the same. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | WikiBeforeAfter.png (265,844) 2020-08-30 11:48 https://issues.openbravo.com/file_download.php?file_id=14919&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2020-07-13 17:06 | shuehner | New Issue | ||||||||||
2020-07-13 17:06 | shuehner | Assigned To | => platform | |||||||||
2020-07-13 17:06 | shuehner | Modules | => Core | |||||||||
2020-07-13 17:06 | shuehner | Triggers an Emergency Pack | => No | |||||||||
2020-07-13 17:08 | shuehner | Note Added: 0121421 | ||||||||||
2020-07-13 17:10 | shuehner | Relationship added | related to 0044606 | |||||||||
2020-07-13 17:11 | shuehner | Note Added: 0121422 | ||||||||||
2020-08-30 11:32 | hgbot | Note Added: 0122449 | ||||||||||
2020-08-30 11:48 | AugustoMauch | File Added: WikiBeforeAfter.png | ||||||||||
2020-08-30 11:49 | AugustoMauch | Note Added: 0122450 | ||||||||||
2020-08-30 11:52 | AugustoMauch | Assigned To | platform => AugustoMauch | |||||||||
2020-08-30 11:53 | AugustoMauch | Status | new => scheduled | |||||||||
2020-09-03 08:47 | hgbot | Resolution | open => fixed | |||||||||
2020-09-03 08:47 | hgbot | Status | scheduled => closed | |||||||||
2020-09-03 08:47 | hgbot | Note Added: 0122559 | ||||||||||
2020-09-03 08:47 | hgbot | Note Added: 0122560 | ||||||||||
2020-09-03 08:47 | hgbot | Note Added: 0122561 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|