Skip to content

Copy class - Getting an error if there's blank space before or after the name of the class #13562

@pcenov

Description

@pcenov

This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Observed behavior

Leaving space before or after the class name and submitting the form results in an error:

unique.set.mp4

Expected behavior

Ideally any blank space before or after the name should be automatically removed.

Steps to reproduce the issue

  1. Install the build from https://github.com/learningequality/kolibri/releases/tag/v0.19.0-alpha0
  2. Go to Facility > Classes and try to copy a class by entering a name with empty space at the beginning or the end

Usage Details

https://github.com/learningequality/kolibri/releases/tag/v0.19.0-alpha0
Windows 11, Ubuntu 22, Mac OS 15.5 - Chrome, Firefox

Metadata

Metadata

Assignees

Labels

APP: FacilityRe: Facility App (user/class management, facility settings, csv import/export, etc.)P0 - criticalPriority: Release blocker or regressionbugBehavior is wrong or broken

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions