Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0054766Openbravo ERPA. Platformpublic2024-02-27 07:202024-03-07 11:02
alostale 
caristu 
immediatemajorhave not tried
closedfixed 
5
 
 
Core
Coding ( Testing )
2024-02-22
main
 https://gitlab.com/openbravo/product/openbravo/-/commit/57a4fa80fa2c2faf9cdd9a52015b72b4d07361c5 [^]
No
0054766: cannot attach files in Amazon S3
An exception is thrown whenever a file is tried to be attached to Amazon S3.

See: https://github.com/aws/aws-sdk-java/issues/3091 [^]
1. Configure Amazon S3 as attachment method
2. Try to attach a file to any record.
  ERROR: 2024-02-26 17:48:18,545 [http-nio-127.0.0.1-8080-exec-2] ERROR org.openbravo.dal.core.ThreadHandler - Exception thrown PASCAL_CASE_TO_CAMEL_CASE
org.openbravo.base.exception.OBException: Exception thrown PASCAL_CASE_TO_CAMEL_CASE
        at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:58) ~[classes/:?]
        at org.openbravo.client.kernel.KernelFilter.doFilter(KernelFilter.java:74) ~[classes/:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat9-catalina-9.0.31.jar:9.0.31]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat9-catalina-9.0.31.jar:9.0.31]
        at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:96) ~[classes/:?]
        at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:47) [classes/:?]
        at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:118) [classes/:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat9-catalina-9.0.31.jar:9.0.31]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat9-catalina-9.0.31.jar:9.0.31]
        at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71) [log4j-web-2.17.1.jar:2.17.1]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat9-catalina-9.0.31.jar:9.0.31]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat9-catalina-9.0.31.jar:9.0.31]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) [tomcat9-catalina-9.0.31.jar:9.0.31]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat9-catalina-9.0.31.jar:9.0.31]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) [tomcat9-catalina-9.0.31.jar:9.0.31]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [tomcat9-catalina-9.0.31.jar:9.0.31]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat9-catalina-9.0.31.jar:9.0.31]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [tomcat9-catalina-9.0.31.jar:9.0.31]
        at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:747) [tomcat9-catalina-9.0.31.jar:9.0.31]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat9-catalina-9.0.31.jar:9.0.31]
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:375) [tomcat9-coyote-9.0.31.jar:9.0.31]
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat9-coyote-9.0.31.jar:9.0.31]
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) [tomcat9-coyote-9.0.31.jar:9.0.31]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1594) [tomcat9-coyote-9.0.31.jar:9.0.31]
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat9-coyote-9.0.31.jar:9.0.31]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat9-util-9.0.31.jar:9.0.31]
        at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.lang.NoSuchFieldError: PASCAL_CASE_TO_CAMEL_CASE
        at com.amazonaws.util.EC2MetadataUtils.<clinit>(EC2MetadataUtils.java:78) ~[aws-java-sdk-core-1.11.280.jar:?]
        at com.amazonaws.auth.InstanceProfileCredentialsProvider$InstanceMetadataCredentialsEndpointProvider.get
No tags attached.
caused by feature request 0054625 closed ander_flores Upgrade Jackson libraries 
Issue History
2024-02-27 07:20alostaleNew Issue
2024-02-27 07:20alostaleAssigned To => Triage Platform Base
2024-02-27 07:20alostaleModules => Core
2024-02-27 07:20alostaleRegression level => Coding ( Testing )
2024-02-27 07:20alostaleRegression date => 2024-02-22
2024-02-27 07:20alostaleRegression introduced in release => main
2024-02-27 07:20alostaleRegression introduced by commit => https://gitlab.com/openbravo/product/openbravo/-/commit/57a4fa80fa2c2faf9cdd9a52015b72b4d07361c5 [^]
2024-02-27 07:20alostaleTriggers an Emergency Pack => No
2024-02-27 07:20alostaleRelationship addedcaused by 0054625
2024-02-27 07:20alostaleAssigned ToTriage Platform Base => Triage Platform Conn
2024-02-27 07:21alostalePrioritynormal => immediate
2024-03-01 11:31hgbotNote Added: 0161488
2024-03-01 11:47caristuAssigned ToTriage Platform Conn => caristu
2024-03-07 11:02hgbotResolutionopen => fixed
2024-03-07 11:02hgbotStatusnew => closed
2024-03-07 11:02hgbotNote Added: 0161831
2024-03-07 11:02hgbotNote Added: 0161832

Notes
(0161488)
hgbot   
2024-03-01 11:31   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.amazon.s3/-/merge_requests/4 [^]
(0161831)
hgbot   
2024-03-07 11:02   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.amazon.s3 [^]
Changeset: e81ee83362f92524b0b79a2e529b6c5563b046d2
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 01-03-2024 11:28:07
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.amazon.s3/-/commit/e81ee83362f92524b0b79a2e529b6c5563b046d2 [^]

fixes BUG-54766: update s3 libraries

---
A lib/runtime/aws-java-sdk-core-1.12.669.jar
A lib/runtime/aws-java-sdk-kms-1.12.669.jar
A lib/runtime/aws-java-sdk-s3-1.12.669.jar
A lib/runtime/jackson-dataformat-cbor-2.16.1.jar
A lib/runtime/jmespath-java-1.12.669.jar
M legal/Licensing.txt
R lib/runtime/aws-java-sdk-core-1.11.280.jar
R lib/runtime/aws-java-sdk-kms-1.11.280.jar
R lib/runtime/aws-java-sdk-s3-1.11.280.jar
R lib/runtime/ion-java-1.0.2.jar
R lib/runtime/jmespath-java-1.11.280.jar
---
(0161832)
hgbot   
2024-03-07 11:02   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.amazon.s3/-/merge_requests/4 [^]