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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049318
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo Localizations] Localization Portugalmajoralways2022-05-13 12:252022-06-01 10:43
ReporterucarrionView Statuspublic 
Assigned Toigor_trebol 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Regression introduced in release
Summary

0049318: EWI generated because of ad_user organizational level

DescriptionIf I do a return in a store B of a sale done in store A with a user related to organization store B, I get the EWI below:

org.openbravo.base.exception.OBException: Couldn't enable triggers:
...
Caused by: org.openbravo.base.exception.OBSecurityException: Entity NC XXXXXXXX/XXXXXX- 12-05-2022 - -69.95 (Invoice) with organization STORE B references an entity USER B through its property Invoice.saftStatusupdatedby but this referenced entity belongs to an organization STORE A which is not part of the natural tree of STORE B.

Attached, the complete EWI log for the case raised in Norauto.
Steps To Reproduce-Precondition: to be able to use touchpoints from two different PT-configured stores.

-Do a simplified invoice (simple sale) into the store A
-Open the touchpoint in store B using a USER whose organization is STORE B (not higher as legal entity, * ...)
-Do a return in store B of the invoice generated in step one
-Check the 'Errors While Importing POS data' window in the backoffice
TagsNOR
Attached Filestxt file icon 49318_errorLog.txt [^] (3,508 bytes) 2022-05-13 12:26 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0137919)
hgbot (developer)
2022-06-01 10:12

Merge Request created: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt/-/merge_requests/34 [^]
(0137922)
hgbot (developer)
2022-06-01 10:34

Merge Request created: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/49 [^]
(0137923)
hgbot (developer)
2022-06-01 10:40

Merge request merged: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt/-/merge_requests/34 [^]
(0137924)
hgbot (developer)
2022-06-01 10:40

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt [^]
Changeset: 389856b26ed8839ea41ddb84784facf0545fd679
Author: Igor Trebol <igor.trebol@openbravo.com>
Date: 01-06-2022 10:13:31
URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt/-/commit/389856b26ed8839ea41ddb84784facf0545fd679 [^]

Fixes ISSUE-49318: set setSaftStatusupdatedby so it allows cross store returns

---
M src-db/database/sourcedata/AD_COLUMN.xml
---
(0137925)
hgbot (developer)
2022-06-01 10:40

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail [^]
Changeset: 9072d6c5237ae220ebcced917a5d0cdb7b308110
Author: Igor Trebol <igor.trebol@openbravo.com>
Date: 01-06-2022 10:34:24
URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/commit/9072d6c5237ae220ebcced917a5d0cdb7b308110 [^]

Fixes ISSUE-49318: set setSaftStatusupdatedby so it allows cross store returns

---
M src/com/practicsbs/saftpt/retail/hook/SaftrOrderLoaderHook.java
---
(0137926)
hgbot (developer)
2022-06-01 10:40

Merge request merged: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/49 [^]
(0137927)
hgbot (developer)
2022-06-01 10:43

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail [^]
Changeset: 5fea17dd316bc67988852277565488255d0ac115
Author: Igor Trebol <igor.trebol@openbravo.com>
Date: 01-06-2022 08:43:16
URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/commit/5fea17dd316bc67988852277565488255d0ac115 [^]

Fixes ISSUE-49318: set setSaftStatusupdatedby so it allows cross store returns


(cherry picked from commit 9072d6c5237ae220ebcced917a5d0cdb7b308110)
---
M src/com/practicsbs/saftpt/retail/hook/SaftrOrderLoaderHook.java
---
(0137928)
hgbot (developer)
2022-06-01 10:43

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt [^]
Changeset: 206da6a281adfb79f9ba39c8420db7792727072c
Author: Igor Trebol <igor.trebol@openbravo.com>
Date: 01-06-2022 08:43:48
URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt/-/commit/206da6a281adfb79f9ba39c8420db7792727072c [^]

Fixes ISSUE-49318: set setSaftStatusupdatedby so it allows cross store returns


(cherry picked from commit 389856b26ed8839ea41ddb84784facf0545fd679)
---
M src-db/database/sourcedata/AD_COLUMN.xml
---

- Issue History
Date Modified Username Field Change
2022-05-13 12:25 ucarrion New Issue
2022-05-13 12:25 ucarrion Assigned To => psanjuan
2022-05-13 12:25 ucarrion Tag Attached: NOR
2022-05-13 12:26 ucarrion File Added: 49318_errorLog.txt
2022-05-30 13:27 aferraz Assigned To psanjuan => igor_trebol
2022-06-01 08:56 hgbot Note Added: 0137911
2022-06-01 09:02 hgbot Note Added: 0137912
2022-06-01 09:52 hgbot Note Added: 0137916
2022-06-01 09:52 hgbot Note Added: 0137917
2022-06-01 10:11 hgbot Note Added: 0137918
2022-06-01 10:12 hgbot Note Added: 0137919
2022-06-01 10:26 hgbot Note Added: 0137920
2022-06-01 10:34 hgbot Note Added: 0137922
2022-06-01 10:40 hgbot Note Added: 0137923
2022-06-01 10:40 hgbot Resolution open => fixed
2022-06-01 10:40 hgbot Status new => closed
2022-06-01 10:40 hgbot Note Added: 0137924
2022-06-01 10:40 hgbot Note Added: 0137925
2022-06-01 10:40 hgbot Note Added: 0137926
2022-06-01 10:41 aferraz Note Deleted: 0137911
2022-06-01 10:41 aferraz Note Deleted: 0137917
2022-06-01 10:41 aferraz Note Deleted: 0137912
2022-06-01 10:41 aferraz Note Deleted: 0137916
2022-06-01 10:41 aferraz Note Deleted: 0137920
2022-06-01 10:41 aferraz Note Deleted: 0137918
2022-06-01 10:43 hgbot Note Added: 0137927
2022-06-01 10:43 hgbot Note Added: 0137928


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker