Skip to content

Commit 6691717

Browse files
Clarify note around event's series field updating
Now it doesn't imply that deleting a series with events inside is a supported operation, it just says: if it were, it needs to be updated. See #1 (comment)
1 parent 9d9c5aa commit 6691717

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/event/metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ When *duplicating* an event, all fields are copied 1:1 unless specified otherwis
4141
- `modified: Timestamp` 🟦: Timestamp of when anything about this event was last changed.
4242
- More precisely: at any point in time since `modified`, all fields, assets, ACL and any other part of the event data model need to have the exact same value as they have at the present moment.
4343
Whenever anything about an event described in this data model changes, `modified` has to be set to `now()`.
44-
- Noteworthy case: when a series is deleted and the event's `series` field is set to `null`, the event's `modified` needs to change.
44+
- Noteworthy case: when the `series` field is changed (potentially triggered by deleting that series), the event's `modified` needs to change.
4545
- Opencast should try its best to not update `modified` when it's not necessary (e.g. when the title is set to the current value), but it is not a bug if `modified` is set to `now()` unnecessarily.
4646
- When duplicating an event, the new event has `modified = now()`, i.e. it is not copied.
4747
- `created: Timestamp` 🟦: Timestamp of when the event was created in Opencast. It is set once when the event is first stored in Opencast's DB, and never changed again.

0 commit comments

Comments
 (0)