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

Upload of asset fails with: Cannot read property 'toLowerCase' #4825

Closed
drx777 opened this issue Dec 26, 2021 · 3 comments
Closed

Upload of asset fails with: Cannot read property 'toLowerCase' #4825

drx777 opened this issue Dec 26, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@drx777
Copy link

drx777 commented Dec 26, 2021

Actual behavior

An asset fails to be uploaded.

Expected behavior

An asset is uploaded successfully.

Steps to reproduce the behavior

When I upload an asset, I get the following error message in the log after the progress bar reaches 100% and stalls there:

[MASTER] warn: Cannot read property 'toLowerCase' of undefined

and the request fails with code 400.

wiki.js version: 2.5.264 (issue occurred already with 2.5.201 prior to update, but upload did use to work on this machine)
node.js version: 12.22.7
maria db version: 10.3.22
client MacOS 12.1, Safari or Chrome

(side note: When I try to upload an asset that I select in a folder that is a symlink, the upload fails directly)

@GrafAviator
Copy link

GrafAviator commented Dec 26, 2021

I have the exact same problem on docker image: requarks/wiki:2.5

Just started to set up Wiki.js for the first time and ended up with this error while trying to upload documents for the first time.

Tried wiki.js 2.4 version on docker. Upload does work in old version.

@TwiggyG85
Copy link

Same here after Update to 2.5.264 no problem on 2.5.260 (think this was my version before)

@NGPixel NGPixel self-assigned this Dec 26, 2021
@NGPixel NGPixel added the bug Something isn't working label Dec 26, 2021
@NGPixel
Copy link
Member

NGPixel commented Dec 26, 2021

Fixed by e84c15b

@NGPixel NGPixel closed this as completed Dec 26, 2021
jionggyu pushed a commit to jionggyu/wiki-2.5.302-patch that referenced this issue Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants