Skip to content

Language-specific CMS Metadata content is not being saved #5397

@lgeggleston

Description

@lgeggleston

Describe the bug

When attempting to set content via "Edit CMS Metadata", Only the value entered in the "English" field is saved and displayed correctly. Input in all other language-specific fields is discarded or reset upon form submission. There is no error and saving appears successful, but nothing appears in the header for another language and if you return to the edit page the content has been discarded.

This remains true when tested with the site language set to match the one you enter CMS metadata for.

Reported from Testathon 2026 (T206) - Firefox and Chrome, DSpace 10.0

To Reproduce

Steps to reproduce the behavior:

  1. Click 'Edit CMS metadata' in the sidebar, and select 'home-header'
  2. Add content in the text box corresponding to any language besides English, and Save.
  3. Return to the homepage, make sure your site is on the language you set content for, and nothing appears in the header. Open Edit CMS metadata again, and the text box you updated is empty.

Expected behavior

Content should save and display properly for any of the language text entries.

Related work

Related to Edit CMS feature
Related to #5339, though seems to be a different bug. It might be efficient to address both at the same time though.

Metadata

Metadata

Assignees

Labels

DSpace-CRIS mergerThis ticket/PR relates to the merger of DSpace-CRIS into DSpace.bugcomponent: administrative toolsRelated to the admin menu or toolstestathonReported by a tester during Community Testathon

Type

Projects

Status

✅ Done

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions