Skip to content

Fix console errors on CollectionObject form page#7907

Draft
acwhite211 wants to merge 2 commits intomainfrom
issue-7893
Draft

Fix console errors on CollectionObject form page#7907
acwhite211 wants to merge 2 commits intomainfrom
issue-7893

Conversation

@acwhite211
Copy link
Copy Markdown
Member

Fixes #7893

Opening http://localhost/specify/view/collectionobject/new/ was producing two error messages:

  • Front-end list of operation policies is out of date
  • Unknown field: generateLabelChk

Fix the two front-end console errors that appear when opening the Collection Object form. The first is to reorder the /tree/edit/storage actions in the front-end permission registry so they exactly match the backend /permissions/registry/ response. The second is to stop logging Unknown field: generateLabelChk for legacy synthetic form controls that are intentionally handled by the form parser

Checklist

  • Self-review the PR after opening it to make sure the changes look good and
    self-explanatory (or properly documented)
  • Add relevant issue to release milestone
  • Add pr to documentation list

Testing instructions

  • Open the new CollectionObject form view page with the browser's console open (in the browser's dev tools).
  • See that no error messages appear in the console and that no error toasts appear on the UI.

@acwhite211 acwhite211 added this to the 7.12.1 milestone Apr 8, 2026
@github-project-automation github-project-automation Bot moved this to 📋Back Log in General Tester Board Apr 8, 2026
@grantfitzsimmons grantfitzsimmons modified the milestones: 7.12.1, 7.12.2 Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📋Back Log

Development

Successfully merging this pull request may close these issues.

Fix constant console errors

2 participants