Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0058125 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [POS2] POS | major | always | 2025-02-27 10:32 | 2025-03-11 12:59 | |||
Reporter | malsasua | View Status | public | |||||
Assigned To | cberner | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | 24Q4.2 | |||
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 | Gold | |||||||
Support ticket | 122789 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0058125: updating to 24Q4, the invariants stock option is disabled | |||||||
Description | Updating from 24Q2 to 24Q4, the invariants stock option is disabled in some products (see attachment1). After update, the following query should not return results: select count(1) from m_product where row_characteristic <> em_obdest_rcharacteristic or column_characteristic <> em_obdest_ccharacteristic or characteristicdimensionenabled <> em_obdest_enabled During the update, the modulescript MigrateDetailedStockColumnsToCharacteristicDimensions was executed | |||||||
Steps To Reproduce | in 24Q2 . login in POS2 . add one line . click in the line -> Product Card -> Other Stock -> 3 points: the Product Variant Stock option is enabled update to 24Q4 . login in POS2 . add one line . click in the line -> Product Card -> Other Stock -> 3 points: the Product Variant Stock option is disabled | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0176631) hgbot (developer) 2025-03-10 18:18 |
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.detailedstock/-/merge_requests/16 [^] |
(0176660) hgbot (developer) 2025-03-11 12:59 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.detailedstock [^] Changeset: f77a16273cc917bfee73fe4b8a5241a118becd12 Author: Cristian Berner <cristian.berner@openbravo.com> Date: 10-03-2025 18:17:06 URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.detailedstock/-/commit/f77a16273cc917bfee73fe4b8a5241a118becd12 [^] Fixes ISSUE-58125: updating to 24Q4, the invariants stock option is disabled The modulescript was failing to update from 24Q2 to 24Q4 in several cases, it seems the problem comes from the column check of characteristicdimensionenabled, when it is null, the where clause returns false incorrectly. characteristicdimensionenabled <> em_obdest_enabled -> returns false when the former is NULL NULL <> 'N'/'Y' -> Returns false --- M build/classes/org/openbravo/pos2/detailedstock/modulescript/MigrateDetailedStockColumnsToCharacteristicDimensions.class M src-util/modulescript/src/org/openbravo/pos2/detailedstock/modulescript/MigrateDetailedStockColumnsToCharacteristicDimensions.java --- |
(0176661) hgbot (developer) 2025-03-11 12:59 |
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.detailedstock/-/merge_requests/16 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2025-03-03 12:34 | cberner | Type | defect => backport |
2025-03-03 12:34 | cberner | Target Version | => 24Q4.2 |
2025-03-03 12:45 | cberner | Target Version | 24Q4.2 => 24Q4.1 |
2025-03-03 14:27 | cberner | Target Version | 24Q4.1 => 24Q4.2 |
2025-03-10 18:18 | hgbot | Merge Request Status | => open |
2025-03-10 18:18 | hgbot | Note Added: 0176631 | |
2025-03-11 11:38 | hgbot | Merge Request Status | open => approved |
2025-03-11 12:59 | hgbot | Resolution | open => fixed |
2025-03-11 12:59 | hgbot | Status | scheduled => closed |
2025-03-11 12:59 | hgbot | Note Added: 0176660 | |
2025-03-11 12:59 | hgbot | Note Added: 0176661 |
Copyright © 2000 - 2009 MantisBT Group |