Upload parameter not correctly shown #839

Open
opened 2026-02-20 15:24:28 -05:00 by deekerman · 2 comments
Owner

Originally created by @SharkProgramming on GitHub (Nov 5, 2019).

Originally assigned to: @NGPixel on GitHub.

Describe the bug
After the update of parameter maxFileSize and maxFiles in config.yml , the interface always show the default parameters .
But parameters are really applied .

To Reproduce
Steps to reproduce the behavior:

  1. Go to config.yml file
  2. Edit parameter maxFileSize to 10485760 and maxFiles to 20 for example
  3. Go to Article edition and insert an image with the upload view
  4. See error

Expected behavior
we have to see the real parameter shown in this frame

Screenshots
issue3

Host Info (please complete the following information):

  • OS: Ubuntu 18.04.3
  • Wiki.js version: 2.0.0-rc.17
  • Database engine: MariaDB 10.3.18
Originally created by @SharkProgramming on GitHub (Nov 5, 2019). Originally assigned to: @NGPixel on GitHub. **Describe the bug** After the update of parameter maxFileSize and maxFiles in config.yml , the interface always show the default parameters . But parameters are really applied . **To Reproduce** Steps to reproduce the behavior: 1. Go to config.yml file 2. Edit parameter maxFileSize to 10485760 and maxFiles to 20 for example 3. Go to Article edition and insert an image with the upload view 4. See error **Expected behavior** we have to see the real parameter shown in this frame **Screenshots** ![issue3](https://user-images.githubusercontent.com/33226400/68206657-971ab800-ffcd-11e9-8da4-b197907f80d7.png) **Host Info (please complete the following information):** - OS: Ubuntu 18.04.3 - Wiki.js version: 2.0.0-rc.17 - Database engine: MariaDB 10.3.18
Author
Owner

@sn0n commented on GitHub (Jun 29, 2021):

any updates?

@sn0n commented on GitHub (Jun 29, 2021): any updates?
Author
Owner

@nook24 commented on GitHub (Aug 11, 2021):

Looks like this is still hardcoded :(
github.com/Requarks/wiki@f55caab359/client/components/editor/editor-modal-media.vue (L153)

@nook24 commented on GitHub (Aug 11, 2021): Looks like this is still hardcoded :( https://github.com/Requarks/wiki/blob/f55caab359ca7715012e3f9a3b9e31f16cccf399/client/components/editor/editor-modal-media.vue#L153
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wiki#839
No description provided.