Openbravo Issue Tracking System - Modules | |||||||||||||||||||||
View Issue Details | |||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||||
0050309 | Modules | Integration with Amazon S3 | public | 2022-09-22 10:37 | 2022-10-24 18:14 | ||||||||||||||||
Reporter | Carlos Sousa | ||||||||||||||||||||
Assigned To | Triage Platform Conn | ||||||||||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||||||||||
Status | acknowledged | Resolution | open | ||||||||||||||||||
Platform | OS | 30 | OS Version | Ubuntu 18.04 | |||||||||||||||||
Product Version | |||||||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||||||
Merge Request Status | |||||||||||||||||||||
Regression date | |||||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||||
Regression level | |||||||||||||||||||||
Review Assigned To | |||||||||||||||||||||
Support ticket | |||||||||||||||||||||
OBNetwork customer | |||||||||||||||||||||
Regression introduced in release | |||||||||||||||||||||
Summary | 0050309: Cannot upload attachments to S3 in non system clients when the S3 attach configuration is defined at system client | ||||||||||||||||||||
Description | We have noticed that in decathlon-eu-preprod when the module "Integration With Amazon S3"is configured with system administrator role and not at client level, we are not able to upload the attachments to s3 even the Verify Configuration message prints that is ok. We can't use obas3_configuration neither c_attachment_conf if they are defined with client '0' The error is the following one: [http-10] ERROR org.openbravo.service.integration.amazon.s3.attachments.AmazonS3AttachImplementation - Error uploading attachment for record 21DA18CB63EBE60D7D7D1BFB1D99C875: Configuration can not be null [http-10] ERROR org.openbravo.erpCommon.businessUtility.TabAttachments - Error uploading the file org.openbravo.base.exception.OBException: It was not possible to upload the file. Please ensure that your Amazon S3 configuration is correct. | ||||||||||||||||||||
Steps To Reproduce | 1- Create a record in "Attachment Configuration" and "Amazon s3 configuration" windows with system administrator role 2- Switch the role to use another client (for example F&B International Group) 3- Try to upload an attachment for any record | ||||||||||||||||||||
Proposed Solution | AmazonS3AttachImplementation should be able to find if there exists an S3 attachment configuration defined at system level when there is not one for the current client. See here: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.amazon.s3/-/blob/master/src/org/openbravo/service/integration/amazon/s3/attachments/AmazonS3AttachmentClient.java#L48 [^] | ||||||||||||||||||||
Additional Information | |||||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||||
Relationships |
| ||||||||||||||||||||
Attached Files | |||||||||||||||||||||
Issue History | |||||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||||
2022-09-22 10:37 | Carlos Sousa | New Issue | |||||||||||||||||||
2022-09-22 10:37 | Carlos Sousa | Assigned To | => Triage Platform Conn | ||||||||||||||||||
2022-09-22 17:59 | adrianromero | Note Added: 0141307 | |||||||||||||||||||
2022-09-22 17:59 | adrianromero | Status | new => feedback | ||||||||||||||||||
2022-10-24 17:48 | caristu | Relationship added | related to 0045329 | ||||||||||||||||||
2022-10-24 17:51 | caristu | Relationship added | related to 0039553 | ||||||||||||||||||
2022-10-24 17:57 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=24974#r24974 | ||||||||||||||||||
2022-10-24 18:02 | caristu | Status | feedback => new | ||||||||||||||||||
2022-10-24 18:06 | caristu | Note Added: 0142502 | |||||||||||||||||||
2022-10-24 18:06 | caristu | Status | new => acknowledged | ||||||||||||||||||
2022-10-24 18:06 | caristu | Note Edited: 0142502 | bug_revision_view_page.php?bugnote_id=0142502#r24976 | ||||||||||||||||||
2022-10-24 18:10 | caristu | Note Edited: 0142502 | bug_revision_view_page.php?bugnote_id=0142502#r24977 | ||||||||||||||||||
2022-10-24 18:11 | caristu | Proposed Solution updated | |||||||||||||||||||
2022-10-24 18:14 | caristu | Summary | Problem While uploading attachments to S3 when configure module with system administrator role => Cannot upload attachments to S3 in non system clients when the S3 attach configuration is defined at system client |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|