Skip to content

Unsetting a node's language doesn't save the change #4493

@bjester

Description

@bjester

Observed behavior

By default, a resource node without a language defaults to using the language defined on the nearest ancestor, which is performed during publishing. When a resource node has had a language applied to it, and you attempt to clear it, so that it uses the default behavior, the change doesn't save.

No change event is recorded for the removal of the language. It also makes it appear that the saving process is stuck, and gives you the 'unsaved changes' confirmation when you try to leave.

When you make another change, it resolves 'stuck' issues.

Expected behavior

You should be able to unset a node's language, so that it uses the default behavior.

User-facing consequences

A user is unable to unset the language of a node so it uses the default behavior

Errors and logs

None

Additional information

image

Steps to reproduce the issue

  1. Open a channel for editing
  2. Upload a PDF
  3. Set the language on the PDF node
  4. Save the node
  5. Now reopen and edit the node
  6. Click the X to clear the language
  7. Save the node
  8. Observe the persistent Saving... message in the top bar

Usage Details

  • OS: Ubuntu 22.04
  • Browser: Chrome 123.0.6312.58
  • URL: Channel edit page

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions