You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The video_id attribute in the media entity is not being properly set during the media creation process. As a result, when attempting to save a video, the video_id field remains None, which leads to complications in implementing cascade deletion features.
Steps to Reproduce
Index the video with "chat_with_video" target.
Observe that the video_id within the saved media entity remains None.
Expected Behavior
The video_id within a media entity should be correctly set and saved, reflecting the associated video's identifier. This setup should facilitate the implementation of cascade deletion, allowing for the automatic deletion of associated videos when a media entity is deleted.
Actual Behavior
The video_id remains None after saving the media entity, regardless of the video association. Due to this, cascade deletion cannot be implemented as intended. Consequently, to delete a media entity and its associated video (see delete_media function), separate delete calls must be made for both the media entity and the video entity, complicating the deletion process.
Bug Description
video_id
field remainsNone
, which leads to complications in implementing cascade deletion features.Steps to Reproduce
video_id
within the saved media entity remainsNone
.Expected Behavior
video_id
within a media entity should be correctly set and saved, reflecting the associated video's identifier. This setup should facilitate the implementation of cascade deletion, allowing for the automatic deletion of associated videos when a media entity is deleted.Actual Behavior
video_id
remainsNone
after saving the media entity, regardless of the video association. Due to this, cascade deletion cannot be implemented as intended. Consequently, to delete a media entity and its associated video (see delete_media function), separate delete calls must be made for both the media entity and the video entity, complicating the deletion process.Environment
The text was updated successfully, but these errors were encountered: