Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor will produce an invalid SMIL file if user tries to delete whole video #1512

Open
JamesUoM opened this issue Dec 5, 2024 · 0 comments
Assignees
Labels
type:bug Something isn't working

Comments

@JamesUoM
Copy link
Contributor

JamesUoM commented Dec 5, 2024

To Reproduce:

Go to stable.opencast.org edit the dual-stream-demo

1.Select the default segment and mark it for deletion
2. Save and process
3. The workflow will fail on the editor WOH with:

org.opencastproject.workflow.api.WorkflowOperationException: org.opencastproject.smil.api.SmilException: Smil does not define any elements
	at org.opencastproject.workflow.handler.videoeditor.VideoEditorWorkflowOperationHandler.resume(VideoEditorWorkflowOperationHandler.java:470)
	at org.opencastproject.workflow.handler.videoeditor.VideoEditorWorkflowOperationHandler.start(VideoEditorWorkflowOperationHandler.java:31

Expected/Desired behaviour

The editor should not allow the user remove the whole video. Instead it should inform the user to delete video via the Opencast Admin UI or simply leave it unpublished.

@JamesUoM JamesUoM added the type:bug Something isn't working label Dec 5, 2024
@JamesUoM JamesUoM self-assigned this Dec 11, 2024
JamesUoM added a commit to UoM-Podcast/opencast-editor that referenced this issue Dec 11, 2024
JamesUoM added a commit to UoM-Podcast/opencast-editor that referenced this issue Dec 11, 2024
JamesUoM added a commit to UoM-Podcast/opencast-editor that referenced this issue Dec 18, 2024
JamesUoM added a commit to UoM-Podcast/opencast-editor that referenced this issue Dec 18, 2024
JamesUoM added a commit to UoM-Podcast/opencast-editor that referenced this issue Dec 18, 2024
JamesUoM added a commit to UoM-Podcast/opencast-editor that referenced this issue Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant