Skip to content

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

@ph-nlx-global

Description

@ph-nlx-global

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions