Skip to content

[ENG-11519] 400 Error Editing CEDAR Metadata After Initial Save in Collection Submission#1027

Merged
adlius merged 1 commit into
CenterForOpenScience:hotfix/26.12.2from
nsemets:fix/ENG-11519
Jun 30, 2026
Merged

[ENG-11519] 400 Error Editing CEDAR Metadata After Initial Save in Collection Submission#1027
adlius merged 1 commit into
CenterForOpenScience:hotfix/26.12.2from
nsemets:fix/ENG-11519

Conversation

@nsemets

@nsemets nsemets commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Summary of Changes

  1. Fixed collection cedar issue.

@nsemets nsemets requested a review from adlius June 30, 2026 18:20

@adlius adlius left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

One question

#cedarViewer
[config]="cedarViewerConfig"
[templateObject]="cedarTemplate()!.attributes.template"
[instanceObject]="cedarFormData()"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why don't we need the instanceObject? I thought we need this to render the form?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

instanceObject is still required for the viewer to show saved data. We moved viewer hydration from template-only to the mount effect. The editor form still uses [metadata]="cedarFormData()"

@adlius adlius merged commit b7b3a8d into CenterForOpenScience:hotfix/26.12.2 Jun 30, 2026
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants