Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0047237Openbravo ERPA. Platformpublic2021-06-24 09:532021-06-24 16:37
alostale 
platform 
normalminorhave not tried
closedfixed 
5
 
PR21Q1.4PR21Q1.4 
Core
Production - Confirmed Stable
2020-10-15
PR21Q1
https://gitlab.com/openbravo/product/openbravo/-/commit/91d54a5c0457fe6ea58c688a01b11473963ac0c6 [^]
No
0047237: "changes pending" displayed after MMC module install + rebuild
After installing a module from Module Management window (MMC) and rebuilding the system to apply the changes as described in the documentation [1]. When MMC is opened again "Changes pending, rebuild required" still appears for that module.
In a clean instance:
1. Log in as System Administrator
2. Open MMC
3. Install Hello World module (or any other)
4. See "Changes pending, rebuild required" appears in main tab for this module
  -> OK
5. Stop tomcat, run ant update.database compile.complete.deploy, restart tomcat
6. Open MMC
7. See "Changes pending, rebuild required" appears in main tab for the installed module
  -> ERROR: changes should have been applied and message shouldn't appear
No tags attached.
blocks defect 0047236 closed platform "changes pending" displayed after MMC module install + rebuild 
Issue History
2021-06-24 09:55alostaleTypedefect => backport
2021-06-24 09:55alostaleTarget Version => PR21Q2.1
2021-06-24 09:56alostaleSummary"changes peding" displayed after MMC module install + rebuild => "changes pending" displayed after MMC module install + rebuild
2021-06-24 14:01hgbotNote Added: 0129770
2021-06-24 14:03alostaleTarget VersionPR21Q2.1 => PR21Q1.4
2021-06-24 16:37hgbotResolutionopen => fixed
2021-06-24 16:37hgbotStatusscheduled => closed
2021-06-24 16:37hgbotNote Added: 0129781
2021-06-24 16:37hgbotFixed in Version => PR21Q1.4
2021-06-24 16:37hgbotNote Added: 0129782

Notes
(0129770)
hgbot   
2021-06-24 14:01   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/406 [^]
(0129781)
hgbot   
2021-06-24 16:37   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/406 [^]
(0129782)
hgbot   
2021-06-24 16:37   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 3269ffb33da53ad9422ed807080c0e68347944fd
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 2021-06-24T13:59:28+02:00
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/3269ffb33da53ad9422ed807080c0e68347944fd [^]

fixes BUG-47237: "changes pending" displayed after MMC module install + rebuild

After following the steps described in the doc to install a module:
 - Install module from MMC
 - ant update.database
 - ant compile.complete.deploy

the module remains in status Pending (P).

Status is updated to Applied (A) on install.source and smartbuild.

This fix moves the status update from smartbuild to update.database
after applying modules (importing their reference data) where this flag is
used. In fact, this is more correct than what was done before as
smartbuild without datbase update could lead modules in an incorrect
status.

---
M build.xml
---