Skip to content

Commit

Permalink
fix: use correct event type for forum events (#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariajgrimaldi authored Jan 13, 2025
1 parent 3d95cea commit 807ba91
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ Unreleased
__________


[9.15.1] - 2024-12-20
---------------------

Changed
~~~~~~~

* Fixed ``event_type`` field in ``FORUM_THREAD_CREATED``, ``FORUM_THREAD_RESPONSE_CREATED``, and ``FORUM_RESPONSE_COMMENT_CREATED`` events in learning.

[9.15.0] - 2024-10-10
---------------------
Expand Down
2 changes: 1 addition & 1 deletion openedx_events/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
more information about the project.
"""

__version__ = "9.15.0"
__version__ = "9.15.1"
6 changes: 3 additions & 3 deletions openedx_events/learning/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
# .. event_data: DiscussionThreadData
# .. event_warning: This event is currently incompatible with the event bus, list/dict cannot be serialized yet
FORUM_THREAD_CREATED = OpenEdxPublicSignal(
event_type="org.openedx.learning.thread.created.v1",
event_type="org.openedx.learning.forum.thread.created.v1",
data={
"thread": DiscussionThreadData,
}
Expand All @@ -309,7 +309,7 @@
# .. event_data: DiscussionThreadData
# .. event_warning: This event is currently incompatible with the event bus, list/dict cannot be serialized yet
FORUM_THREAD_RESPONSE_CREATED = OpenEdxPublicSignal(
event_type="org.openedx.learning.response.created.v1",
event_type="org.openedx.learning.forum.thread.response.created.v1",
data={
"thread": DiscussionThreadData,
}
Expand All @@ -321,7 +321,7 @@
# .. event_data: DiscussionThreadData
# .. event_warning: This event is currently incompatible with the event bus, list/dict cannot be serialized yet
FORUM_RESPONSE_COMMENT_CREATED = OpenEdxPublicSignal(
event_type="org.openedx.learning.response.created.v1",
event_type="org.openedx.learning.forum.thread.response.comment.created.v1",
data={
"thread": DiscussionThreadData,
}
Expand Down
6 changes: 3 additions & 3 deletions openedx_events/tooling.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
"org.openedx.content_authoring.course.certificate_config.changed.v1",
"org.openedx.content_authoring.course.certificate_config.deleted.v1",
"org.openedx.learning.user.notification.requested.v1",
"org.openedx.learning.thread.created.v1",
"org.openedx.learning.response.created.v1",
"org.openedx.learning.comment.created.v1",
"org.openedx.learning.forum.thread.created.v1",
"org.openedx.learning.forum.thread.response.created.v1",
"org.openedx.learning.forum.thread.response.comment.created.v1",
"org.openedx.learning.course.notification.requested.v1",
"org.openedx.learning.ora.submission.created.v1",
]
Expand Down

0 comments on commit 807ba91

Please sign in to comment.