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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050689
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionarymajorhave not tried2022-10-31 11:532022-11-03 08:24
ReporterebecerraView Statuspublic 
Assigned Toebecerra 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision88903ac5c942
ProjectionnoneETAnoneTarget Version
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

0050689: 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 ]
depends on backport 0050714PR22Q4.1 closedebecerra Openbravo ERP Allow import user in different organizations 
causes defect 0051028pi closedranjith_qualiantech_com Retail Modules Export User API - Mapping Broken 

-  Notes
(0142754)
hgbot (developer)
2022-10-31 12:05

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/97 [^]
(0142764)
hgbot (developer)
2022-10-31 15:03

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 88903ac5c94205168d78a8ab7bb9c4d5cbba4b02
Author: Eduardo Becerra <eduardo.becerra@openbravo.com>
Date: 31-10-2022 12:04:36
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/88903ac5c94205168d78a8ab7bb9c4d5cbba4b02 [^]

Fixes ISSUE-50689: Allow import user in different organizations

---
A src/org/openbravo/api/mappings/user/ImportUserRolesJavaPropertyMappingHandler.java
---
(0142765)
hgbot (developer)
2022-10-31 15:03

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

- Issue History
Date Modified Username Field Change
2022-10-31 11:53 ebecerra New Issue
2022-10-31 11:53 ebecerra Assigned To => Triage Platform Base
2022-10-31 11:53 ebecerra Modules => Core
2022-10-31 11:53 ebecerra Triggers an Emergency Pack => No
2022-10-31 11:53 ebecerra Assigned To Triage Platform Base => ebecerra
2022-10-31 11:53 ebecerra Status new => scheduled
2022-10-31 12:05 hgbot Note Added: 0142754
2022-10-31 15:03 hgbot Resolution open => fixed
2022-10-31 15:03 hgbot Status scheduled => closed
2022-10-31 15:03 hgbot Note Added: 0142764
2022-10-31 15:03 hgbot Note Added: 0142765
2022-11-03 08:23 guilleaer Status closed => new
2022-11-03 08:23 guilleaer Resolution fixed => open
2022-11-03 08:23 guilleaer Status new => scheduled
2022-11-03 08:24 guilleaer Status scheduled => resolved
2022-11-03 08:24 guilleaer Fixed in SCM revision => 88903ac5c94205168d78a8ab7bb9c4d5cbba4b02
2022-11-03 08:24 guilleaer Resolution open => fixed
2022-11-03 08:24 guilleaer Status resolved => closed
2022-11-29 10:16 nicola_uva Relationship added causes 0051028


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker