Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0048489 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | minor | have not tried | 2022-01-27 10:23 | 2022-01-27 11:56 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | PR22Q1.1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | PR22Q1.1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0048489: Execution limit of RemoveRebuildAppender is not proper | |||||||
Description | 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. | |||||||
Steps To Reproduce | - 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 | |||||||
Proposed Solution | Update the execution limit of RemoveRebuildAppender to ensure it is executed when upgrading from 19Q1 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0134593) hgbot (developer) 2022-01-27 11:27 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/514 [^] |
(0134597) hgbot (developer) 2022-01-27 11:56 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/514 [^] |
(0134598) hgbot (developer) 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 --- |
![]() |
|||
Date Modified | Username | Field | Change |
2022-01-27 11:21 | AugustoMauch | Type | defect => backport |
2022-01-27 11:21 | AugustoMauch | Target Version | => PR22Q1.1 |
2022-01-27 11:27 | hgbot | Note Added: 0134593 | |
2022-01-27 11:56 | hgbot | Note Added: 0134597 | |
2022-01-27 11:56 | hgbot | Resolution | open => fixed |
2022-01-27 11:56 | hgbot | Status | scheduled => closed |
2022-01-27 11:56 | hgbot | Fixed in Version | => PR22Q1.1 |
2022-01-27 11:56 | hgbot | Note Added: 0134598 |
Copyright © 2000 - 2009 MantisBT Group |