Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0048489Openbravo ERPA. Platformpublic2022-01-27 10:232022-01-27 11:56
AugustoMauch 
AugustoMauch 
normalminorhave not tried
closedfixed 
5
 
PR22Q1.1PR22Q1.1 
Core
No
0048489: 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 => PR22Q1.1
2022-01-27 11:27hgbotNote Added: 0134593
2022-01-27 11:56hgbotNote Added: 0134597
2022-01-27 11:56hgbotResolutionopen => fixed
2022-01-27 11:56hgbotStatusscheduled => closed
2022-01-27 11:56hgbotFixed in Version => PR22Q1.1
2022-01-27 11:56hgbotNote Added: 0134598

Notes
(0134593)
hgbot   
2022-01-27 11:27   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/514 [^]
(0134597)
hgbot   
2022-01-27 11:56   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/514 [^]
(0134598)
hgbot   
2022-01-27 11:56   
Directly closing issue as related merge request is already approved.

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

Fixes ISSUE-48489: 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
---