[JBoss JIRA] (FORGE-2676) NewCrossOriginResourceSharingFilter should contain a "Access-Control-Expose-Headers" for "Location"
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2676?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2676.
----------------------------------
Fix Version/s: 3.3.1.Final
Assignee: George Gastaldi
Resolution: Done
> NewCrossOriginResourceSharingFilter should contain a "Access-Control-Expose-Headers" for "Location"
> ---------------------------------------------------------------------------------------------------
>
> Key: FORGE-2676
> URL: https://issues.jboss.org/browse/FORGE-2676
> Project: Forge
> Issue Type: Feature Request
> Components: Java EE
> Affects Versions: 3.3.0.Final
> Reporter: Sebastien Blanc
> Assignee: George Gastaldi
> Fix For: 3.3.1.Final
>
>
> NewCrossOriginResourceSharingFilter should contain a "Access-Control-Expose-Headers" for "Location" by default or it should be possible to add it when calling the CORS command.
> This is how I worked around it in the NewCrossOriginResourceSharingFilter.java filer :
> {code:java}
> response.getHeaders()
> .putSingle("Access-Control-Expose-Headers",
> "Location");
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months
[JBoss JIRA] (FORGE-2676) NewCrossOriginResourceSharingFilter should contain a "Access-Control-Expose-Headers" for "Location"
by Sebastien Blanc (JIRA)
Sebastien Blanc created FORGE-2676:
--------------------------------------
Summary: NewCrossOriginResourceSharingFilter should contain a "Access-Control-Expose-Headers" for "Location"
Key: FORGE-2676
URL: https://issues.jboss.org/browse/FORGE-2676
Project: Forge
Issue Type: Feature Request
Components: Java EE
Affects Versions: 3.3.0.Final
Reporter: Sebastien Blanc
NewCrossOriginResourceSharingFilter should contain a "Access-Control-Expose-Headers" for "Location" by default or it should be possible to add it when calling the CORS command.
This is how I worked around it in the NewCrossOriginResourceSharingFilter.java filer :
{code:java}
response.getHeaders()
.putSingle("Access-Control-Expose-Headers",
"Location");
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months
[JBoss JIRA] (FORGE-2675) Upgrade to Furnace 2.23.8.Final
by George Gastaldi (JIRA)
George Gastaldi created FORGE-2675:
--------------------------------------
Summary: Upgrade to Furnace 2.23.8.Final
Key: FORGE-2675
URL: https://issues.jboss.org/browse/FORGE-2675
Project: Forge
Issue Type: Component Upgrade
Components: Furnace (Container)
Affects Versions: 3.3.0.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 3.3.1.Final
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months
[JBoss JIRA] (FURNACE-120) Furnace seems to be proxying java.nio.Path instances
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FURNACE-120?page=com.atlassian.jira.plugi... ]
George Gastaldi updated FURNACE-120:
------------------------------------
Fix Version/s: 2.23.8.Final
> Furnace seems to be proxying java.nio.Path instances
> ----------------------------------------------------
>
> Key: FURNACE-120
> URL: https://issues.jboss.org/browse/FURNACE-120
> Project: Forge: Furnace
> Issue Type: Bug
> Affects Versions: 2.23.7.Final
> Reporter: Jess Sightler
> Assignee: George Gastaldi
> Fix For: 2.23.8.Final
>
>
> Class name: org.javassist.tmp.java.nio.file.Path_$$_javassist_e2aee44f-1c2f-4dea-9465-cd181bb52a83
> ClassLoader: ModuleClassLoader for Module "org.jboss.windup.exec.windup-exec:3.0.0-SNAPSHOT_45979342-4d41-4637-84bf-5f11f9de6cb8" from AddonModuleLoader
> Calling Files.isDirectory with this proxy object results in the following exception:
> Windup Execution failed due to: org.javassist.tmp.java.io.Closeable_$$_javassist_43fd2113-1fd1-4d0d-a9f6-7bf2667e61ab cannot be cast to java.nio.file.FileSystem
> java.lang.ClassCastException: org.javassist.tmp.java.io.Closeable_$$_javassist_43fd2113-1fd1-4d0d-a9f6-7bf2667e61ab cannot be cast to java.nio.file.FileSystem
> at org.javassist.tmp.java.nio.file.Path_$$_javassist_e2aee44f-1c2f-4dea-9465-cd181bb52a83.getFileSystem(Path_$$_javassist_e2aee44f-1c2f-4dea-9465-cd181bb52a83.java)
> at java.nio.file.Files.provider(Files.java:97)
> at java.nio.file.Files.readAttributes(Files.java:1737)
> at java.nio.file.Files.isDirectory(Files.java:2192)
> at org.jboss.windup.ext.groovy.GroovyWindupRuleProviderLoader.getScripts(GroovyWindupRuleProviderLoader.java:184)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months
[JBoss JIRA] (FURNACE-120) Furnace seems to be proxying java.nio.Path instances
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FURNACE-120?page=com.atlassian.jira.plugi... ]
George Gastaldi updated FURNACE-120:
------------------------------------
Affects Version/s: 2.23.7.Final
> Furnace seems to be proxying java.nio.Path instances
> ----------------------------------------------------
>
> Key: FURNACE-120
> URL: https://issues.jboss.org/browse/FURNACE-120
> Project: Forge: Furnace
> Issue Type: Bug
> Affects Versions: 2.23.7.Final
> Reporter: Jess Sightler
> Assignee: George Gastaldi
> Fix For: 2.23.8.Final
>
>
> Class name: org.javassist.tmp.java.nio.file.Path_$$_javassist_e2aee44f-1c2f-4dea-9465-cd181bb52a83
> ClassLoader: ModuleClassLoader for Module "org.jboss.windup.exec.windup-exec:3.0.0-SNAPSHOT_45979342-4d41-4637-84bf-5f11f9de6cb8" from AddonModuleLoader
> Calling Files.isDirectory with this proxy object results in the following exception:
> Windup Execution failed due to: org.javassist.tmp.java.io.Closeable_$$_javassist_43fd2113-1fd1-4d0d-a9f6-7bf2667e61ab cannot be cast to java.nio.file.FileSystem
> java.lang.ClassCastException: org.javassist.tmp.java.io.Closeable_$$_javassist_43fd2113-1fd1-4d0d-a9f6-7bf2667e61ab cannot be cast to java.nio.file.FileSystem
> at org.javassist.tmp.java.nio.file.Path_$$_javassist_e2aee44f-1c2f-4dea-9465-cd181bb52a83.getFileSystem(Path_$$_javassist_e2aee44f-1c2f-4dea-9465-cd181bb52a83.java)
> at java.nio.file.Files.provider(Files.java:97)
> at java.nio.file.Files.readAttributes(Files.java:1737)
> at java.nio.file.Files.isDirectory(Files.java:2192)
> at org.jboss.windup.ext.groovy.GroovyWindupRuleProviderLoader.getScripts(GroovyWindupRuleProviderLoader.java:184)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months
[JBoss JIRA] (FURNACE-120) Furnace seems to be proxying java.nio.Path instances
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FURNACE-120?page=com.atlassian.jira.plugi... ]
George Gastaldi reassigned FURNACE-120:
---------------------------------------
Assignee: George Gastaldi
> Furnace seems to be proxying java.nio.Path instances
> ----------------------------------------------------
>
> Key: FURNACE-120
> URL: https://issues.jboss.org/browse/FURNACE-120
> Project: Forge: Furnace
> Issue Type: Bug
> Reporter: Jess Sightler
> Assignee: George Gastaldi
>
> Class name: org.javassist.tmp.java.nio.file.Path_$$_javassist_e2aee44f-1c2f-4dea-9465-cd181bb52a83
> ClassLoader: ModuleClassLoader for Module "org.jboss.windup.exec.windup-exec:3.0.0-SNAPSHOT_45979342-4d41-4637-84bf-5f11f9de6cb8" from AddonModuleLoader
> Calling Files.isDirectory with this proxy object results in the following exception:
> Windup Execution failed due to: org.javassist.tmp.java.io.Closeable_$$_javassist_43fd2113-1fd1-4d0d-a9f6-7bf2667e61ab cannot be cast to java.nio.file.FileSystem
> java.lang.ClassCastException: org.javassist.tmp.java.io.Closeable_$$_javassist_43fd2113-1fd1-4d0d-a9f6-7bf2667e61ab cannot be cast to java.nio.file.FileSystem
> at org.javassist.tmp.java.nio.file.Path_$$_javassist_e2aee44f-1c2f-4dea-9465-cd181bb52a83.getFileSystem(Path_$$_javassist_e2aee44f-1c2f-4dea-9465-cd181bb52a83.java)
> at java.nio.file.Files.provider(Files.java:97)
> at java.nio.file.Files.readAttributes(Files.java:1737)
> at java.nio.file.Files.isDirectory(Files.java:2192)
> at org.jboss.windup.ext.groovy.GroovyWindupRuleProviderLoader.getScripts(GroovyWindupRuleProviderLoader.java:184)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months
[JBoss JIRA] (FURNACE-120) Furnace seems to be proxying java.nio.Path instances
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FURNACE-120?page=com.atlassian.jira.plugi... ]
George Gastaldi updated FURNACE-120:
------------------------------------
Summary: Furnace seems to be proxying java.nio.Path instances (was: Forge seems to be proxying java.nio.Path instances)
> Furnace seems to be proxying java.nio.Path instances
> ----------------------------------------------------
>
> Key: FURNACE-120
> URL: https://issues.jboss.org/browse/FURNACE-120
> Project: Forge: Furnace
> Issue Type: Bug
> Reporter: Jess Sightler
>
> Class name: org.javassist.tmp.java.nio.file.Path_$$_javassist_e2aee44f-1c2f-4dea-9465-cd181bb52a83
> ClassLoader: ModuleClassLoader for Module "org.jboss.windup.exec.windup-exec:3.0.0-SNAPSHOT_45979342-4d41-4637-84bf-5f11f9de6cb8" from AddonModuleLoader
> Calling Files.isDirectory with this proxy object results in the following exception:
> Windup Execution failed due to: org.javassist.tmp.java.io.Closeable_$$_javassist_43fd2113-1fd1-4d0d-a9f6-7bf2667e61ab cannot be cast to java.nio.file.FileSystem
> java.lang.ClassCastException: org.javassist.tmp.java.io.Closeable_$$_javassist_43fd2113-1fd1-4d0d-a9f6-7bf2667e61ab cannot be cast to java.nio.file.FileSystem
> at org.javassist.tmp.java.nio.file.Path_$$_javassist_e2aee44f-1c2f-4dea-9465-cd181bb52a83.getFileSystem(Path_$$_javassist_e2aee44f-1c2f-4dea-9465-cd181bb52a83.java)
> at java.nio.file.Files.provider(Files.java:97)
> at java.nio.file.Files.readAttributes(Files.java:1737)
> at java.nio.file.Files.isDirectory(Files.java:2192)
> at org.jboss.windup.ext.groovy.GroovyWindupRuleProviderLoader.getScripts(GroovyWindupRuleProviderLoader.java:184)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months