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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055210
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2024-04-16 12:012024-05-14 21:43
ReportermalsasuaView Statuspublic 
Assigned ToTriage Omni OMS 
PriorityhighResolutionfixedFixed in Version
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

0055210: [OPECOM] multiple executions of the same commercial operation

DescriptionIt is possible to have multiple activate executions of the same commercial operations
Steps To Reproduce. create a new commercial operation with
. click in Activate
. close window
. open window and click in Activate button again
-> the activation was done twice:
executing this query, you can check the number of records are duplicated:
select count(1) from obcomop_com_oper_prodpri op , m_productprice_exc e where op.obcomop_com_operation_id='OPECOM_ID' and op.obcomop_com_oper_prodpri_id =e.em_obcomop_com_oper_prodpri_id
TagsNo tags attached.
Attached Filespng file icon Screenshot from 2024-04-26 17-59-28.png [^] (348,514 bytes) 2024-04-29 08:51

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0163741)
frank_gonzalez (developer)
2024-04-25 12:46

Jira: https://openbravo.atlassian.net/browse/RM-13514 [^]
(0163871)
kousalya_r (developer)
2024-04-29 08:51
edited on: 2024-04-29 08:52

The issue is not reproducible. I activate the commercial operations and close window and open again I get Reopen option only not Activate option.
Screenshot is attached

(0163877)
malsasua (developer)
2024-04-29 09:55

it is reproducible with a big volume of data. You need to close the window and open it again before the process finishes
(0163973)
hgbot (developer)
2024-05-02 08:18

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations/-/merge_requests/70 [^]
(0164575)
hgbot (developer)
2024-05-14 21:43

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations [^]
Changeset: abff0a92945b672e5fe6cd569e849cfeeb116ba8
Author: Kousalya Ramasamy <kousalya.ramasamy@openbravo.com>
Date: 14-05-2024 19:43:20
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations/-/commit/abff0a92945b672e5fe6cd569e849cfeeb116ba8 [^]

Fixes ISSUE-55210: Added processing column to avoid duplicate activation

---
M src-db/database/model/tables/OBCOMOP_COM_OPERATION.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-test/org/openbravo/commercialoperations/process/ReopenCommercialOperationProcessTest.java
M src-test/org/openbravo/commercialoperations/process/StopCommercialOperationProcessTest.java
M src-test/org/openbravo/commercialoperations/process/ValidateCommercialOperationProcessTest.java
M src/org/openbravo/commercialoperations/process/CommercialOperationActionProcess.java
---
(0164576)
hgbot (developer)
2024-05-14 21:43

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations/-/merge_requests/70 [^]

- Issue History
Date Modified Username Field Change
2024-04-16 12:01 malsasua New Issue
2024-04-16 12:01 malsasua Assigned To => Retail
2024-04-16 12:01 malsasua Triggers an Emergency Pack => No
2024-04-16 12:57 aferraz Assigned To Retail => Triage Omni OMS
2024-04-25 12:46 frank_gonzalez Note Added: 0163741
2024-04-29 08:51 kousalya_r Note Added: 0163871
2024-04-29 08:51 kousalya_r File Added: Screenshot from 2024-04-26 17-59-28.png
2024-04-29 08:52 kousalya_r Note Edited: 0163871 View Revisions
2024-04-29 09:55 malsasua Note Added: 0163877
2024-05-02 08:18 hgbot Note Added: 0163973
2024-05-14 21:43 hgbot Resolution open => fixed
2024-05-14 21:43 hgbot Status new => closed
2024-05-14 21:43 hgbot Note Added: 0164575
2024-05-14 21:43 hgbot Note Added: 0164576


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker