Max Attachment Size doesnt work properly

1
0
-1

In my application, there is file upload widget. Which works fine.
I want to restrict attaching files over 15MB.

According to the default configuration this should return error from server when I try to attache a file over 15MB. But I can attach them without any error.

However, When I try to attach file size of 31MB, then server returns an error.

Any idea?

N.B. : I am trying to attach jpg, png and pdf files.

1 answer

1
0
-1

I found a solution.

Need to change the property form.attachment.max.size of the console-config.properties.
Now attachment restriction works fine. But I dont know the implication of this change.

N.B. :
According to the Bonitasoft documentation, changing the "form.attachment.max.size" property in the forms-config.properties should work. Some how It didnt work for me.

Notifications