Skip to content

fix: allow periods in block_ids#38817

Merged
ormsbee merged 1 commit into
openedx:masterfrom
ormsbee:fix-period-in-code
Jul 14, 2026
Merged

fix: allow periods in block_ids#38817
ormsbee merged 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.
@ormsbee ormsbee force-pushed the fix-period-in-code branch from 8361f74 to 73f9964 Compare July 13, 2026 15:42
@ormsbee ormsbee requested a review from kdmccormick July 13, 2026 15:46
@ormsbee

ormsbee commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

@kdmccormick: Ready for your review.

@ormsbee ormsbee merged commit 04fc6e4 into openedx:master Jul 14, 2026
42 checks passed
@ormsbee ormsbee deleted the fix-period-in-code branch July 14, 2026 00:23
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.

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

2 participants