Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0048488Openbravo ERPA. Platformpublic2022-01-27 10:232022-01-27 11:57
AugustoMauch 
AugustoMauch 
normalminorhave not tried
closedfixed 
5
 
PR22Q2 
Core
No
0048488: 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.
depends on backport 0048489PR22Q1.1 closed AugustoMauch Execution limit of RemoveRebuildAppender is not proper 
depends on backport 0048490PR21Q4.4 closed AugustoMauch Execution limit of RemoveRebuildAppender is not proper 
related to defect 0048464 closed Triage Platform Base OBRebuildAppender: fails to compile after updating OB version 
Issue History
2022-01-27 10:23AugustoMauchNew Issue
2022-01-27 10:23AugustoMauchAssigned To => Triage Platform Base
2022-01-27 10:23AugustoMauchModules => Core
2022-01-27 10:23AugustoMauchTriggers an Emergency Pack => No
2022-01-27 10:26hgbotNote Added: 0134590
2022-01-27 11:20AugustoMauchAssigned ToTriage Platform Base => AugustoMauch
2022-01-27 11:20AugustoMauchStatusnew => acknowledged
2022-01-27 11:21AugustoMauchStatusacknowledged => scheduled
2022-01-27 11:45AugustoMauchRelationship addedrelated to 0048464
2022-01-27 11:57hgbotNote Added: 0134601
2022-01-27 11:57hgbotResolutionopen => fixed
2022-01-27 11:57hgbotStatusscheduled => closed
2022-01-27 11:57hgbotFixed in Version => PR22Q2
2022-01-27 11:57hgbotNote Added: 0134602

Notes
(0134590)
hgbot   
2022-01-27 10:26   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/513 [^]
(0134601)
hgbot   
2022-01-27 11:57   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/513 [^]
(0134602)
hgbot   
2022-01-27 11:57   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 10a26df04b210f8d9b1aff0352fe7d1522b4f740
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 27-01-2022 10:28:52
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/10a26df04b210f8d9b1aff0352fe7d1522b4f740 [^]

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