Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certain file names cause uploader-plus upload to fail (Alfresco 6.2) #150

Open
ph-nlx-global opened this issue Jul 1, 2022 · 0 comments

Comments

@ph-nlx-global
Copy link

We use an Alfresco stack based alfresco.platform.version=6.2.2.3 and alfresco.share.version=6.2.2.
Uploader-plus version is uploader-plus-surf-1.6.jar

Certain file names cause an upload in Share to fail. The problem was reproducable on multiple deployments on Kubernetes and on Docker, also with different Alfresco 6.x versions.

How to reproduce:
Create a Word document named "v04 Nieuwsbrief 3, 16 juli 2019, productieschema.docx", content doesn't matter.
Login in Share
Go to Shared files
Upload above file

You'll get an error "... KB (Failure: Unexpected error occurred during upload of new content.)"
The log shows no errors
The browser debug network shows: POST https://hostname/share/proxy/alfresco/uploader-plus/upload?Alfresco-CSRFToken=TOKEN= status code 500

Other file name patters that produce the error are:
"v0x xxxxxxxxxxx x x.docx"
"v04 Nieuwsbrief 3, 16 juli 2019.docx"
"vp_application_structure.html" (with some HTML content)

Note that not all "v0 .docx" or "vp_.html" file names trigger the problem, but the starting "v0 " and "vp_" are a factor.

The problem is triggered by the file name itself, I tried different content but that did not make a difference.
The problem can be reproduced on multiple environments.

Any help would be appreciated.

Best Regards, Peter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant