Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0057092 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Modules] Openbravo Business API | minor | have not tried | 2024-11-14 07:55 | 2024-11-18 17:23 | |||
| Reporter | alostale | View Status | public | |||||
| Assigned To | Triage Platform Conn | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | |||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | approved | |||||||
| Regression date | ||||||||
| Regression introduced by commit | ||||||||
| Regression level | ||||||||
| Review Assigned To | ||||||||
| Support ticket | ||||||||
| OBNetwork customer | No | |||||||
| Regression introduced in release | ||||||||
| Summary | 0057092: cannot import with API with System role | |||||||
| Description | Roles with access only to System client cannot launch import APIs. | |||||||
| Steps To Reproduce | 1. Give webservice access to System Admin role 2. Create a user with this role as default 3. Try to create a user using the ws/org.openbravo.api.ImportService/User endpoint ERROR: HTTP 500 Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; statement executed: update C_IMPORT_ENTRY set AD_Client_ID=?, AD_Org_ID=?, Isactive=?, Created=?, Createdby=?, Updated=?, Updatedby=?, Imported=?, Jsoninfo=?, ImportStatus=?, Typeofdata=?, Errorinfo=?, AD_Role_ID=?, Createdtimestamp=?, EM_Obpos_Applications_ID=?, Responseinfo=?, Isnonblocking=? where C_IMPORT_ENTRY_ID=? | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Notes |
|
|
(0171956) hgbot (developer) 2024-11-14 08:00 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1439 [^] |
|
(0172188) hgbot (developer) 2024-11-18 17:23 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: bcbe631ef12c2ce2b0c4fc9dff769d8de458086a Author: Asier Lostalé <a.lostale@orisha.com> Date: 18-11-2024 16:22:53 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/bcbe631ef12c2ce2b0c4fc9dff769d8de458086a [^] fixed BUG-57092: cannot import with API with System role C_Import_Entry and C_Import_Entry_Archive tables' access level has been changed from Client/Organization to All allowing thus entries in System client. --- M src-db/database/sourcedata/AD_TABLE.xml --- |
|
(0172189) hgbot (developer) 2024-11-18 17:23 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1439 [^] |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2024-11-14 07:55 | alostale | New Issue | |
| 2024-11-14 07:55 | alostale | Assigned To | => Triage Platform Conn |
| 2024-11-14 07:55 | alostale | OBNetwork customer | => No |
| 2024-11-14 08:00 | hgbot | Merge Request Status | => open |
| 2024-11-14 08:00 | hgbot | Note Added: 0171956 | |
| 2024-11-18 17:23 | hgbot | Merge Request Status | open => approved |
| 2024-11-18 17:23 | hgbot | Resolution | open => fixed |
| 2024-11-18 17:23 | hgbot | Status | new => closed |
| 2024-11-18 17:23 | hgbot | Fixed in Version | => PR25Q1 |
| 2024-11-18 17:23 | hgbot | Note Added: 0172188 | |
| 2024-11-18 17:23 | hgbot | Note Added: 0172189 | |
| Copyright © 2000 - 2009 MantisBT Group |