Group empty when editing topic related with a course group and language diferent from English has configured

Created on 5 April 2024, 7 months ago
Updated 7 May 2024, 6 months ago

Problem/Motivation

When an installation is using a language diferent from English and a topic is created related with a course group, on the page to edit this topic the group field isn't loading options and it is loaded empty. When this field is empty and the user save it, the field wil be cleanned.

This happen because a hook-form-alter is removing some options using translation string on if and it never match when the installation is using languages different from English

Steps to reproduce

- Install Social Course
- Change default language
- Create a course group
- Create a topic and related with couse before
- Edit the topic and check group field

Proposed resolution

Change the check to use only English string to avoid problems with installation if others language.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Fixed

Version

5.2

Component

Code

Created by

🇧🇷Brazil viniciusrp

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024