Skip to content

Fix: exclude updatedBy from scaffold forms (fixes #491)#492

Merged
taylortom merged 1 commit into
masterfrom
fix/course-create-updatedby-blacklist
Jul 16, 2026
Merged

Fix: exclude updatedBy from scaffold forms (fixes #491)#492
taylortom merged 1 commit into
masterfrom
fix/course-create-updatedby-blacklist

Conversation

@taylortom

Copy link
Copy Markdown
Contributor

Fixes #491

Fix

  • Added updatedBy to the scaffold ATTRIBUTE_BLACKLIST, alongside its sibling authored fields (createdAt, createdBy, updatedAt), so it is excluded from rendered forms.

New-course forms no longer submit an empty updatedBy to /api/content/insertrecursive, which was failing isObjectId schema validation and blocking course creation.

@taylortom
taylortom merged commit ed681ab into master Jul 16, 2026
3 checks passed
@taylortom
taylortom deleted the fix/course-create-updatedby-blacklist branch July 16, 2026 23:52
github-actions Bot pushed a commit that referenced this pull request Jul 16, 2026
## [3.1.1](v3.1.0...v3.1.1) (2026-07-16)

### Build

* ignore @babel major bumps until rollup-plugin-babel supports v8 (#488) ([2470063](2470063)), closes [#488](#488)

### Chore

* replace legacy new.yml with direct add-to-project workflow ([41c9403](41c9403))

### Fix

* exclude updatedBy from scaffold forms (fixes #491) (#492) ([ed681ab](ed681ab)), closes [#491](#491) [#492](#492)
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 3.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Development

Successfully merging this pull request may close these issues.

New course creation fails: /updatedBy must pass isObjectId validation

1 participant