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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038295
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Distribution Ordersmajoralways2018-04-08 10:362018-06-18 18:44
ReporterdmiguelezView Statuspublic 
Assigned Todmiguelez 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision376bb44d8bb6
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Todmiguelez
Regression introduced in release
Summary

0038295: Not possible to create a DO Task using AWO with a Role with limited access

DescriptionNot possible to create a DO Task using AWO with a Role with limited access
Steps To ReproduceNos possible to create a DO Task using AWO with a Role with limited access
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0103739)
hgbot (developer)
2018-04-08 10:37

Repository: erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders
Changeset: d000be8b9030a4ec0d50a3eaf9d666e571136f1c
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Sun Apr 08 12:37:17 2018 +0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/rev/d000be8b9030a4ec0d50a3eaf9d666e571136f1c [^]

Fixes Issue 38295.

Use setAdminMode for creating DO Tasks to avoid problems with users
with a Role with limited access

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/feHooks/CreateTasksFromMobileHook_Issue_DOI.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/feHooks/CreateTasksFromMobileHook_Pick_DOI.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/feHooks/CreateTasksFromMobileHook_Receipt_DOR.java
---
(0103740)
hgbot (developer)
2018-04-08 10:38

Repository: retail/backports/AWO/3.0RR17Q4/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders
Changeset: 376bb44d8bb6a4e0021fa3b4f55f345f3c2e59c7
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Sun Apr 08 12:37:17 2018 +0400
URL: http://code.openbravo.com/retail/backports/AWO/3.0RR17Q4/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/rev/376bb44d8bb6a4e0021fa3b4f55f345f3c2e59c7 [^]

Fixes Issue 38295.

Use setAdminMode for creating DO Tasks to avoid problems with users
with a Role with limited access

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/feHooks/CreateTasksFromMobileHook_Issue_DOI.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/feHooks/CreateTasksFromMobileHook_Pick_DOI.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/feHooks/CreateTasksFromMobileHook_Receipt_DOR.java
---
(0103741)
hgbot (developer)
2018-04-08 10:46

Repository: retail/backports/AWO/3.0RR18Q1/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders
Changeset: 376bb44d8bb6a4e0021fa3b4f55f345f3c2e59c7
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Sun Apr 08 12:37:17 2018 +0400
URL: http://code.openbravo.com/retail/backports/AWO/3.0RR18Q1/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/rev/376bb44d8bb6a4e0021fa3b4f55f345f3c2e59c7 [^]

Fixes Issue 38295.

Use setAdminMode for creating DO Tasks to avoid problems with users
with a Role with limited access

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/feHooks/CreateTasksFromMobileHook_Issue_DOI.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/feHooks/CreateTasksFromMobileHook_Pick_DOI.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/feHooks/CreateTasksFromMobileHook_Receipt_DOR.java
---
(0105200)
dmiguelez (developer)
2018-06-18 18:43

This issue is no longer reproducible.

When it was fixed it was possible to create Tasks from the Front End for Distribution Order documents for which the Organization was not directly writable by the user, but it was included in the natural tree of the Organizations that he had access.

Now the functionality is more complete, it is not possible to create Tasks for a document if the user does not have direct write access to the Organization.

Steps to reproduce.

With AWO Sampledata installed

Log in as AWO QA Admin.

Go to Distribution Order Issue Window and create a new Document with:
  - Organization: US
  - Warehouse Issue: US West Coast
  - Warehouse Receipt: US East Coast
Move to lines and create a new record with:
  - Product: Ale Beer
  - Operative Quantity: 10
Click on Book

Log in the Front End with user AWO_US_W_STRICT/openbravo

Click on Pick and use the document number from the previous DO.
Check that no document is shown.

- Issue History
Date Modified Username Field Change
2018-04-08 10:36 dmiguelez New Issue
2018-04-08 10:36 dmiguelez Assigned To => Triage Finance
2018-04-08 10:37 hgbot Checkin
2018-04-08 10:37 hgbot Note Added: 0103739
2018-04-08 10:37 hgbot Status new => resolved
2018-04-08 10:37 hgbot Resolution open => fixed
2018-04-08 10:37 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/rev/d000be8b9030a4ec0d50a3eaf9d666e571136f1c [^]
2018-04-08 10:38 hgbot Checkin
2018-04-08 10:38 hgbot Note Added: 0103740
2018-04-08 10:38 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/rev/d000be8b9030a4ec0d50a3eaf9d666e571136f1c [^] => http://code.openbravo.com/retail/backports/AWO/3.0RR17Q4/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/rev/376bb44d8bb6a4e0021fa3b4f55f345f3c2e59c7 [^]
2018-04-08 10:46 hgbot Checkin
2018-04-08 10:46 hgbot Note Added: 0103741
2018-04-08 10:46 hgbot Fixed in SCM revision http://code.openbravo.com/retail/backports/AWO/3.0RR17Q4/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/rev/376bb44d8bb6a4e0021fa3b4f55f345f3c2e59c7 [^] => http://code.openbravo.com/retail/backports/AWO/3.0RR18Q1/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/rev/376bb44d8bb6a4e0021fa3b4f55f345f3c2e59c7 [^]
2018-04-16 16:57 shuehner Assigned To Triage Finance => dmiguelez
2018-05-29 11:11 ngarcia Summary Nos possible to create a DO Task using AWO with a Role with limited access => Not possible to create a DO Task using AWO with a Role with limited access
2018-05-29 11:11 ngarcia Description Updated View Revisions
2018-06-18 18:43 dmiguelez Note Added: 0105200
2018-06-18 18:44 dmiguelez Review Assigned To => dmiguelez
2018-06-18 18:44 dmiguelez Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker