Problem/Motivation

"File translation" form contains a list of mime types. Once selected and submitted page gets refreshed but saved values are not stay selected on the form.

Steps to reproduce

0. Create dummy provider plugin with `files = TRUE` in plugin definition comment.
1. Open `/admin/tmgmt/settings` page.
2. Select some mime types and submit form.

Proposed resolution

Fix a typo in form definition where it reads selected mime types from config.

Remaining tasks

No

User interface changes

No

API changes

No

Data model changes

No

CommentFileSizeAuthor
#2 patch-3482826-2.diff458 bytesloparev

Issue fork tmgmt-3482826

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

loparev created an issue. See original summary.

loparev’s picture

StatusFileSize
new458 bytes

Here is a "patch".

idebr made their first commit to this issue’s fork.

idebr’s picture

Version: 8.x-1.16 » 8.x-1.x-dev
Status: Active » Reviewed & tested by the community

I converted the patch to a merge request: https://git.drupalcode.org/project/tmgmt/-/merge_requests/86

The change works as expected.

berdir’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, merging.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • berdir committed 74a4015f on 8.x-1.x authored by idebr
    fix: #3482826 File attachment settings: mime types form values are not...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.