Skip to content

Lower min weight/dimension from 0.01 to 0.001 to fix silent edit fail…#11882

Merged
RayBB merged 1 commit intointernetarchive:masterfrom
395ShikharSingh:fix/edition-weight-min-constraint
Feb 17, 2026
Merged

Lower min weight/dimension from 0.01 to 0.001 to fix silent edit fail…#11882
RayBB merged 1 commit intointernetarchive:masterfrom
395ShikharSingh:fix/edition-weight-min-constraint

Conversation

@395ShikharSingh
Copy link
Contributor

Fix: #11699

Problem

Historical edition records have weight values like 0.001 that violate the form's min="0.01" HTML constraint. When such a record is opened for editing, any save attempt silently fails because native browser validation rejects the pre-filled value and the field is in a collapsed section so no error is shown to the user.

Change

Changed min from "0.01" to "0.001" on 4 inputs in edition.html:

  • Weight
  • Height, Width, Depth (dimensions)

Stakeholder

@RayBB

@github-project-automation github-project-automation bot moved this to Waiting Review/Merge from Staff in Ray's Project Feb 17, 2026
Copy link
Collaborator

@RayBB RayBB left a comment

Choose a reason for hiding this comment

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

Tested locally since deploying to testing was down.

Works great and this is a very simple change just like Mek recommended.

Great job @395ShikharSingh !

@RayBB RayBB merged commit f4fc34d into internetarchive:master Feb 17, 2026
3 checks passed
@github-project-automation github-project-automation bot moved this from Waiting Review/Merge from Staff to Done in Ray's Project Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Edition weights which are too small cause edits to silently fail

2 participants