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

1.12.3附件上传失败后,无法保存 #200

Open
aazainn opened this issue Oct 21, 2023 · 0 comments
Open

1.12.3附件上传失败后,无法保存 #200

aazainn opened this issue Oct 21, 2023 · 0 comments

Comments

@aazainn
Copy link

aazainn commented Oct 21, 2023

版本情况

JDK版本: openjdk 17.0.8
erupt版本: 1.12.3

问题描述(包括截图)

  1. 添加一个不符合条件的附件,如指定fileTypes = "zip"并上传一个7z文件,或者设置max-file-size: 100MB并上传一个大于100M的文件

  2. 在报错后,点击附件右边的删除按钮删除这个失败的附件

  3. 再次上传一个符合条件的附件,点击保存,提示“附件上传中请稍后”
    1111
    222

  4. 复现代码

    @EruptField(
            views = @View(title = "附件", type = ViewType.ATTACHMENT)
            , edit = @Edit(title = "附件", type = EditType.ATTACHMENT, attachmentType = @AttachmentType(fileTypes = "zip"))
    )
    @Schema(description = "附件")
    @Column(name = "`attachment`")
    @JsonProperty("attachment")
    private java.lang.String attachment;
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

No branches or pull requests

1 participant