Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0039553Openbravo ERPA. Platformpublic2018-10-26 14:152018-12-11 20:22
caristu 
caristu 
highminorhave not tried
closedfixed 
5
 
3.0PR19Q1 
alostale
Core
No
0039553: Is not possible to define an specific attachment configuration if there is already one defined at system client
Is not possible to define an specific attachment configuration if there is already one defined at system client.
1) Login as System Administrator.
2) Go to the [Attachments Configuration] window and create a new record.
3) Login as Group Admin Role
4) Go to the [Attachments Configuration] window and create a new record. ERROR: record can not be saved we are wrongly detecting an active configuration but is not defined for the current client.

Note that it is possible to create the configurations if we do the previous steps in reverse order, i.e, first creating the configuration as group admin and then as system administrator.
Modify the logic in AttachmentConfigEventHandler in order to allow saving an active attachment configuration even if we have one defined at system level.
No tags attached.
related to feature request 0029771 closed naiaramartinez Openbravo ERP different attachment method infrastructure 
related to defect 0050309 acknowledged Triage Platform Conn Modules Cannot upload attachments to S3 in non system clients when the S3 attach configuration is defined at system client 
Issue History
2018-10-26 14:15caristuNew Issue
2018-10-26 14:15caristuAssigned To => platform
2018-10-26 14:15caristuModules => Core
2018-10-26 14:15caristuTriggers an Emergency Pack => No
2018-10-26 14:15caristuRelationship addedrelated to 0029771
2018-10-26 14:18caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=17868#r17868
2018-10-26 14:18caristuAssigned Toplatform => caristu
2018-10-26 15:09hgbotCheckin
2018-10-26 15:09hgbotNote Added: 0107628
2018-10-26 15:09hgbotStatusnew => resolved
2018-10-26 15:09hgbotResolutionopen => fixed
2018-10-26 15:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/846701061bb9d5e6c189b0b7132674d669bcfa0c [^]
2018-10-26 15:09caristuReview Assigned To => alostale
2018-11-08 09:49alostaleNote Added: 0107790
2018-11-08 09:49alostaleStatusresolved => closed
2018-11-08 09:49alostaleFixed in Version => 3.0PR19Q1
2018-12-11 20:22hudsonbotCheckin
2018-12-11 20:22hudsonbotNote Added: 0108445
2022-10-24 17:51caristuRelationship addedrelated to 0050309

Notes
(0107628)
hgbot   
2018-10-26 15:09   
Repository: erp/devel/pi
Changeset: 846701061bb9d5e6c189b0b7132674d669bcfa0c
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Oct 26 15:05:43 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/846701061bb9d5e6c189b0b7132674d669bcfa0c [^]

fixes bug 39553: Can't create an attachment config having one at system client

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/AttachmentConfigEventHandler.java
---
(0107790)
alostale   
2018-11-08 09:49   
reviewed + tested
(0108445)
hudsonbot   
2018-12-11 20:22   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/470e3cd384c5 [^]
Maturity status: Test