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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054745
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Copy Retail Storemajoralways2024-02-22 13:382024-03-13 07:10
ReporterngarciaView Statuspublic 
Assigned Tosreehari 
PriorityurgentResolutionfixedFixed 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

0054745: Copy Retail Store process fails if G/L Category records assigned to the origin org are not accessible for the new organization

DescriptionCopy Retail Store process fails if G/L Category records assigned to the origin org are not accessible for the new organization

The G/L Category records are created within some datasets that also create Document Types and can be applied at the legal org level.

Although before launching the Copy Retail Store process, new G/L Category records are created within * or the newly created org (Initial Org Setup) the process fails too
Steps To ReproduceIn https://livebuilds.openbravo.com/context/retail_modules_pgsql_pi [^]

1) Create the Copy Store Parametrization, fill in all the fields
2) Change the organization of None G/L Category from * to Vall Blanca Store
3) Launch Copy Store process (attached the image with the parameters) and check it fails with

Process failed:
There were errors during the process, see the execution log for more details

ERROR: null value in column "gl_category_id" violates not-null constraint
  Detail: Failing row contains (B3802C1440D7475EAE53EC2B121616E1, 39363B0921BB4293B48383844325E84C, 20A9F471BF194836AECD3D08411E9E50, Y, 2024-02-22 12:31:50.713, 100, 2024-02-22 12:31:50.713, 100, TEST POS Order, VBS Order Confirmation, null, SOO, Y, WR, null, null, Y, A722DA6B309C41A29E6E003E69987855, null, null, N, 0, 259, N, null, N, N, N, null, null, null)
TagsNo tags attached.
Attached Filespng file icon CopyStore.png [^] (40,406 bytes) 2024-03-05 12:10

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0162027)
hgbot (developer)
2024-03-12 14:12

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/merge_requests/58 [^]
(0162028)
hgbot (developer)
2024-03-12 14:13

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1168 [^]
(0162044)
hgbot (developer)
2024-03-13 07:10

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore [^]
Changeset: d7fbd97a103e2dc7886883ffb6b3cc1e5a259022
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 12-03-2024 14:59:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/commit/d7fbd97a103e2dc7886883ffb6b3cc1e5a259022 [^]

Fixes ISSUE-54745: Created handleProperty override for gLCategory
*it handles the orgTreeAccess and sets the original property else
*it creates a new category for the org and sets it

---
M src/org/openbravo/retail/copystore/process/DefaultPropertiesHandler.java
---
(0162045)
hgbot (developer)
2024-03-13 07:10

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/merge_requests/58 [^]
(0162046)
hgbot (developer)
2024-03-13 07:10

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 60f2e193b0fbd59959361c1d2ee46f1e0c1f4658
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 12-03-2024 18:36:22
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/60f2e193b0fbd59959361c1d2ee46f1e0c1f4658 [^]

Related ISSUE-54745: Changed the active status of DocBaseType Column
*Changed the active status of Document Category Field

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0162047)
hgbot (developer)
2024-03-13 07:10

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1168 [^]

- Issue History
Date Modified Username Field Change
2024-02-22 13:38 ngarcia New Issue
2024-02-22 13:38 ngarcia Assigned To => Retail
2024-02-22 13:38 ngarcia Triggers an Emergency Pack => No
2024-02-22 13:43 Practics Issue Monitored: Practics
2024-02-23 12:55 ngarcia Summary Copy Retail Store process fails if G/L Category records are not accessible for the new organization => Copy Retail Store process fails if G/L Category records assigned to the origin org are not accessible for the new organization
2024-02-23 12:55 ngarcia Description Updated View Revisions
2024-03-05 11:17 sreehari Assigned To Retail => sreehari
2024-03-05 12:10 ngarcia File Added: CopyStore.png
2024-03-07 07:08 sreehari Status new => scheduled
2024-03-12 14:12 hgbot Note Added: 0162027
2024-03-12 14:13 hgbot Note Added: 0162028
2024-03-13 07:10 hgbot Resolution open => fixed
2024-03-13 07:10 hgbot Status scheduled => closed
2024-03-13 07:10 hgbot Note Added: 0162044
2024-03-13 07:10 hgbot Note Added: 0162045
2024-03-13 07:10 hgbot Note Added: 0162046
2024-03-13 07:10 hgbot Note Added: 0162047


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker