Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0048490Openbravo ERPA. Platformpublic2022-01-27 10:232022-01-27 11:56
AugustoMauch 
AugustoMauch 
normalminorhave not tried
closedfixed 
5
 
PR21Q4.4PR21Q4.4 
Core
No
0048490: Execution limit of RemoveRebuildAppender is not proper
RemoveRebuildAppender is a build validation that should be executed when updating from a version >=19Q1 and < 21Q1.

Its execution limits use as first version the one that corresponds to 19Q1 and as last version the one that corresponds to 21Q1, the problem is that both first and last versions are excluded, so when updating from 19Q1 the build validation is not executed.
- Downgrade to 19Q1: git checkout 3.0PR19Q1
- Run install.source
- Upgrade to 21Q4.3: git checkout 3.0PR21Q4.3
- Update the log configuration to show DEBUG messages of org.openbravo.base.ExecutionLimitBaseProcess
- Run update.database, the following message will be shown in the log:
[java] 1250 [main] DEBUG org.openbravo.base.ExecutionLimitBaseProcess - Not necessary to execute BuildValidation: org.openbravo.buildvalidation.RemoveRebuildAppender
[java] 1254 [main] DEBUG org.openbravo.base.ExecutionLimitBaseProcess - Dependent module current version (3.0.35325) is not between BuildValidation execution limits: first version = 3.0.35325, last version = 3.0.211000
Update the execution limit of RemoveRebuildAppender to ensure it is executed when upgrading from 19Q1
No tags attached.
blocks defect 0048488 closed AugustoMauch Execution limit of RemoveRebuildAppender is not proper 
Issue History
2022-01-27 11:21AugustoMauchTypedefect => backport
2022-01-27 11:21AugustoMauchTarget Version => PR21Q4.4
2022-01-27 11:32hgbotNote Added: 0134595
2022-01-27 11:56hgbotResolutionopen => fixed
2022-01-27 11:56hgbotStatusscheduled => closed
2022-01-27 11:56hgbotFixed in Version => PR21Q4.4
2022-01-27 11:56hgbotNote Added: 0134599
2022-01-27 11:56hgbotNote Added: 0134600

Notes
(0134595)
hgbot   
2022-01-27 11:32   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/515 [^]
(0134599)
hgbot   
2022-01-27 11:56   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 8aa7703ef9cb98b02165046b85a9e637833a075f
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 27-01-2022 11:30:51
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/8aa7703ef9cb98b02165046b85a9e637833a075f [^]

Fixes ISSUE-48490: RemoveRebuildAppender not executed when upgrading from 19Q1

The execution limit of the RemoveRebuildAppender build validation has been updated to take into account
that the first limit is excluded, with the new version it will be executed when upgrading from 19Q1

---
M src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/RemoveRebuildAppender.class
M src-util/buildvalidation/src/org/openbravo/buildvalidation/RemoveRebuildAppender.java
---
(0134600)
hgbot   
2022-01-27 11:56   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/515 [^]