[
https://issues.apache.org/jira/browse/MYFACES-4718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18053204#comment-18053204
]
Werner Punz edited comment on MYFACES-4718 at 1/21/26 5:00 PM:
---------------------------------------------------------------
Hi [~volosied] I tried a small upload example on both development and
production on 3.0.3 and 3.0.4-SNAPSHOT and not getting this error (tried both
chrome and firefox)
!image-2026-01-21-07-44-16-725.png|width=755,height=248!
Can you provide an example where this error occurs with details on the browser
and platform? My guess is the error is triggered by some unit testing
framework, which would point to a bug in the javascript engine of the testing
framework, but this is a wild guess atm!
was (Author: werpu):
Hi [~volosied] I tried a small upload example on both development and
production on 3.0.3 and 3.0.4-SNAPSHOT and not getting this error (tried both
chrome and firefox)
!image-2026-01-21-07-44-16-725.png|width=755,height=248!
Can you provide an example where this error occurs with details on the browser
and platform?
> 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)