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

configprops endpoint does not display DataSize properties correctly #32613

Closed
wilkinsona opened this issue Oct 6, 2022 · 1 comment
Closed
Labels
status: superseded An issue that has been superseded by another

Comments

@wilkinsona
Copy link
Member

wilkinsona commented Oct 6, 2022

"spring.servlet.multipart-org.springframework.boot.autoconfigure.web.servlet.MultipartProperties": {
    "inputs": {
        "enabled": {},
        "fileSizeThreshold": {},
        "maxFileSize": {},
        "maxRequestSize": {},
        "resolveLazily": {}
    },
    "prefix": "spring.servlet.multipart",
    "properties": {
        "enabled": true,
        "fileSizeThreshold": {},
        "maxFileSize": {},
        "maxRequestSize": {},
        "resolveLazily": false
    }
}

With thanks to @ahoehma on Gitter, maxFileSize and maxRequestSize are both DataSize properties but the values are missing from properties. It looks like there is also a problem with inputs as the output above was generated with spring.servlet.multipart.max-file-size=10MB in application.properties but the input for maxFileSize is empty.

@wilkinsona wilkinsona added the type: bug A general bug label Oct 6, 2022
@wilkinsona wilkinsona added this to the 2.6.x milestone Oct 6, 2022
terminux added a commit to terminux/spring-boot that referenced this issue Oct 9, 2022
terminux added a commit to terminux/spring-boot that referenced this issue Oct 10, 2022
@scottfrederick
Copy link
Contributor

Closing in favor of #32645

@scottfrederick scottfrederick added status: superseded An issue that has been superseded by another and removed type: bug A general bug labels Oct 12, 2022
@scottfrederick scottfrederick removed this from the 2.6.x milestone Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: superseded An issue that has been superseded by another
Projects
None yet
Development

No branches or pull requests

2 participants