Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057034
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Retail Configurationminorhave not tried2024-11-07 11:082024-11-11 12:22
ReportershuehnerView Statuspublic 
Assigned Toshuehner 
PrioritynormalResolutionfixedFixed in VersionRR25Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0057034: Retail config: Remove modulescript InitializeAvailableCrossStore (not needed)

DescriptionThis modulescript was added in 2019 with the comment:
* Initialize Available for Cross Store value for existing Inventory Status with the same value than
 * Available, only in the install.source. For update.database we use EM_OBRETCO_AvailableCrossStore
 * onCreateDefault.

indicating that the onCreateDefault used to populate EM_OBRETCO_AvailableCrossStore with value of other column Available did not work during install.source.

Testing this now that is working fine so the modulescript is not needed and should be removed.
Steps To ReproduceCreate workspace consisting of
- backoffice
- org.openbravo.retail.config
module

run install.source

Verify that value of EM_OBRETCO_AvailableCrossStore is same as value of Available column for all rows in table m_inventorystatus.
Proposed SolutionRemove the modulescript as obsolete
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks feature request 0057210 newTriage Platform Base Openbravo ERP Move content of org.openbravo.retail.config module to backoffice/core repo 

-  Notes
(0171618)
hgbot (developer)
2024-11-07 11:13

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/merge_requests/32 [^]
(0171762)
hgbot (developer)
2024-11-11 12:22

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/merge_requests/32 [^]
(0171763)
hgbot (developer)
2024-11-11 12:22

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config [^]
Changeset: e2ca9f34c010764cfce3f27bd65f3a3bf319e164
Author: Stefan Huehner <s.huehner@orisha.com>
Date: 08-11-2024 10:51:47
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/commit/e2ca9f34c010764cfce3f27bd65f3a3bf319e164 [^]

Fixed ISSUE-57034: Remove modulescript InitializeAvailableCrossStore

This modulescript was used to fill value of EM_OBRETCO_AvailableCrossStore
based on value of Available column in same table m_inventorystatus.

Comment in the script claims this didn't work using the normal
onCreateDefault logic when module was added during install.source
directly.

Retesting this behavior now that is working out of the box.
Remove the modulescript as it is not needed anymore.

---
R build/classes/org/openbravo/retail/config/modulescript/InitializeAvailableCrossStore.class
R build/classes/org/openbravo/retail/config/modulescript/InitializeAvailableCrossStoreData.class
R src-util/modulescript/src/org/openbravo/retail/config/modulescript/InitializeAvailableCrossStore.java
R src-util/modulescript/src/org/openbravo/retail/config/modulescript/InitializeAvailableCrossStore_Data.xsql
---

- Issue History
Date Modified Username Field Change
2024-11-07 11:08 shuehner New Issue
2024-11-07 11:08 shuehner Assigned To => shuehner
2024-11-07 11:08 shuehner Triggers an Emergency Pack => No
2024-11-07 11:13 hgbot Note Added: 0171618
2024-11-11 12:22 hgbot Resolution open => fixed
2024-11-11 12:22 hgbot Status new => closed
2024-11-11 12:22 hgbot Note Added: 0171762
2024-11-11 12:22 hgbot Fixed in Version => RR25Q1
2024-11-11 12:22 hgbot Note Added: 0171763
2024-11-20 16:09 shuehner Relationship added blocks 0057210


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker