Skip to content

The page crashes when creating a new custom attribute #3410

@Squirrel963

Description

@Squirrel963

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed. / 请使用英语提交,否则会被关闭。
  • Please do not modify this template :) and fill in all the required fields.

Cloudreve version

4.15.0 #006680c

Pro or Community Edition

Community (Open Source)

Database type

I don't know

Browser and operating system

Edge x86_64 146.0.3856.84/windows11 24H2 26100.7623

Steps to reproduce

It seems that this issue has been consistently reproducible since version 4.14.1.

The URL of the page where the error occurred:
/admin/filesystem?tab=customProps

1.Open the management panel

2.Go to the 'File System' tab

3.Go to the 'Custom Attributes' tab

4.Add a new 'Rating' attribute

5.After entering any number in the 'Maximum Value' input box on the attribute creation page and then clearing the input box, the page crashes

Image Image

✔️ Expected Behavior

The maximum value displayed below has been reset to 5

❌ Actual Behavior

The page crashes, and the problem can be reliably reproduced.

Addition context information

No response

Metadata

Metadata

Assignees

Labels

backlogbugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions