Skip to content

fix: allow periods in block_ids#38817

Open
ormsbee wants to merge 1 commit into
openedx:masterfrom
ormsbee:fix-period-in-code
Open

fix: allow periods in block_ids#38817
ormsbee wants to merge 1 commit into
openedx:masterfrom
ormsbee:fix-period-in-code

Conversation

@ormsbee

@ormsbee ormsbee commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Course -> Library import would previously fail if the block_id contained
a period, but periods are legal in UsageKeys and can turn up, e.g.
"good-vs.-evil" should be allowed. This is not common because most
courses are edited in Studio and don't get descriptive block_ids. But
OLX-edited courses can end up with block_ids like this.

Course -> Library import would previously fail if the block_id contained
a period, but periods are legal in UsageKeys and can turn up, e.g.
"good-vs.-evil" should be allowed. This is not *common* because most
courses are edited in Studio and don't get descriptive block_ids. But
OLX-edited courses can end up with block_ids like this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant