Skip to content

OBGM-487 Unable to upload documents on product page #4113

Merged
awalkowiak merged 2 commits intofeature/upgrade-to-grails-3.3.10from
OBGM-487
Jun 19, 2023
Merged

OBGM-487 Unable to upload documents on product page #4113
awalkowiak merged 2 commits intofeature/upgrade-to-grails-3.3.10from
OBGM-487

Conversation

@alannadolny
Copy link
Collaborator

No description provided.

Comment on lines +175 to +177
upload:
maxFileSize: 2097152
maxRequestSize: 2097152
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a maximum of 2MB for uploading files (2 * 1024 * 1024 = 2097152)

Note about the right value for maxFileSize and maxRequestSize:

It depends on the application type, but it's generally a bad idea to keep them too high. If you really need to upload big files, probably you should develop (or use) a dedicated (and separated) service.

Comment on lines +23 to +24

import java.awt.Graphics2D
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a change connected to @awalkowiak's comment here: #4111

@awalkowiak awalkowiak merged commit 41bcbd3 into feature/upgrade-to-grails-3.3.10 Jun 19, 2023
@awalkowiak awalkowiak deleted the OBGM-487 branch June 19, 2023 13:28
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

Successfully merging this pull request may close these issues.

2 participants