Skip to content

Course -> Library Import: Block codes with periods are rejected #38609

@ormsbee

Description

@ormsbee

We slugify the title to generate the component code, but if the title has a "." in it, e.g. "Good vs. Evil", then the resulting code "good_vs._evil" raises a validation error because our expression forbids periods.

Resolution: loosen our validation rules so that periods are allowed. These types of identifiers are common as part of opaque keys, e.g. "6.002x".

Metadata

Metadata

Assignees

No one assigned

    Labels

    verawoodReleased in Verawood

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions