Skip to content

Fix installer sample content creation error - #175

Merged
luke- merged 1 commit into
developfrom
fix/error-installer-sample-content
Jun 9, 2026
Merged

Fix installer sample content creation error#175
luke- merged 1 commit into
developfrom
fix/error-installer-sample-content

Conversation

@kilgor-trout-c22

Copy link
Copy Markdown
Contributor

Fixes Issue humhub/humhub-internal#1221

Events::onSampleDataInstall() attaches sample comments via the removed polymorphic object_model/object_id properties, which now throws UnknownPropertyException on a clean install from humhub:develop (v1.19) with sample content enabled. Content addons now attach via content_id (as core's own installer already does).

@kilgor-trout-c22
kilgor-trout-c22 requested review from luke- and marc-farre and removed request for marc-farre June 8, 2026 11:40
@luke-
luke- merged commit d369bbd into develop Jun 9, 2026
15 checks passed
@luke-
luke- deleted the fix/error-installer-sample-content branch June 9, 2026 10:00
@luke-

luke- commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

@kilgor-trout-c22 Thanks!

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.

2 participants