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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050714
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 00. Application dictionarymajorhave not tried2022-10-31 11:532022-11-03 08:52
ReporterebecerraView Statuspublic 
Assigned Toebecerra 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionPR22Q4.1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0050714: Allow import user in different organizations

DescriptionWhen using the openbravo API to import users, it is not possible to import users in an organization other than "*" because an error appears when trying to add the user role.

EDL Error: "Error while importing an item: Entity ADUserRoles may only have instances with organization *"
Steps To ReproduceURL: http://localhost:8080/openbravo/ws/org.openbravo.api.ImportService/User [^]
Method: POST
Body: [
  {
    "client": "Agapes",
    "organization": "FLUNCH - France",
    "name": "Eduardo Becerra",
    "username": "19492",
    "firstname": "Eduardo",
    "lastname": "Becerra",
    "password": "123",
    "isActive": "true",
    "roles": [
      {
        "role": "Hôtesse de caisse 194",
        "active": true
      }
    ]
  }
]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0050689 closedebecerra Allow import user in different organizations 

-  Notes
(0142851)
hgbot (developer)
2022-11-03 08:48

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/99 [^]
(0142852)
hgbot (developer)
2022-11-03 08:52

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: d99df32333eb4ae7825eef2ca5d453fc3926f6e5
Author: Guillermo Alvarez de Eulate <guillermo.alvarez@openbravo.com>
Date: 03-11-2022 08:48:15
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/d99df32333eb4ae7825eef2ca5d453fc3926f6e5 [^]

fixed ISSUE-50714: Allow import user in different organizations

---
A src/org/openbravo/api/mappings/user/ImportUserRolesJavaPropertyMappingHandler.java
---
(0142853)
hgbot (developer)
2022-11-03 08:52

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

- Issue History
Date Modified Username Field Change
2022-11-03 08:23 guilleaer Type defect => backport
2022-11-03 08:23 guilleaer Target Version => PR22Q4.1
2022-11-03 08:48 hgbot Note Added: 0142851
2022-11-03 08:52 hgbot Resolution open => fixed
2022-11-03 08:52 hgbot Status scheduled => closed
2022-11-03 08:52 hgbot Note Added: 0142852
2022-11-03 08:52 hgbot Note Added: 0142853


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker