[ 
https://issues.apache.org/jira/browse/MYFACES-4718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18056582#comment-18056582
 ] 

Werner Punz commented on MYFACES-4718:
--------------------------------------

I rechecked the issue, this was a configuration issue on the glassfish side! 
The code is basically dead code by now, because the url is supposed to have the 
proper protocol in! For me it is a little bit unclear here whether we should 
remove it for now, the code is expected to have the proper url, but is this 
really true for all versions which support websocket? I would mark the code in 
the new codebase (for now not in myfaces but with the next commit) for 
deprecation but won´t remove it until it is clear that it is save to remove it 
for all versions. I do not want to have a code split on the new and old code 
over this issue!

So please simply close it for now, I will push a deprecation comment simply in 
the uptsream codebase!

 

> Uncaught TypeError: this._getMultipartReqClass(...) is not a constructor
> ------------------------------------------------------------------------
>
>                 Key: MYFACES-4718
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4718
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 3.0.3
>            Reporter: Volodymyr Siedlecki
>            Assignee: Werner Punz
>            Priority: Major
>             Fix For: 3.0.4
>
>         Attachments: image-2026-01-21-07-44-16-725.png
>
>
>  
> When uploading a file via ajax, the following exception is encountered: 
> {code:java}
> Uncaught TypeError: this._getMultipartReqClass(...) is not a constructor
>     multipartQueuedPost 
> http://localhost:9080/JSF22InputFile/jakarta.faces.resource/jsf.js.jsf?ln=jakarta.faces&stage=Development:8827
>      request 
> http://localhost:9080/JSF22InputFile/jakarta.faces.resource/jsf.js.jsf?ln=jakarta.faces&stage=Development:9493
>      request 
> http://localhost:9080/JSF22InputFile/jakarta.faces.resource/jsf.js.jsf?ln=jakarta.faces&stage=Development:10281
>      onchange http://localhost:9080/JSF22InputFile/AjaxFileUploadTest.jsf:1  
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to