Skip to content

Change subject type from text to mixed_text#7462

Open
geichelberger wants to merge 4 commits intoopencast:developfrom
geichelberger:mixed_text
Open

Change subject type from text to mixed_text#7462
geichelberger wants to merge 4 commits intoopencast:developfrom
geichelberger:mixed_text

Conversation

@geichelberger
Copy link
Contributor

Changes the subject type from text to mixed_text. This allows consistent behaviour between the UI and the External API, as the External API already handles it as a list by splitting the subject field on a comma.

The PR does not implement a migration; the code is somewhat backward-compatible.

Your pull request should…

@@ -0,0 +1 @@
- Changed type of event and series `subject` field from `text` to `mixed_text`. Which allows better handling of keywords and a consistent handling between UI and external API. No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes an RM's life so much easier.

Suggested change
- Changed type of event and series `subject` field from `text` to `mixed_text`. Which allows better handling of keywords and a consistent handling between UI and external API.
- [#7462](https://github.com/opencast/opencast/pull/7462/): Changed type of event and series `subject` field from `text` to `mixed_text`. Which allows better handling of keywords and a consistent handling between UI and external API.

The subject field of the external api had a custom type iterable_text,
this is now replaced with mixed_text.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants