Skip to content

Fix being unable to step back in event modal#1153

Merged
gregorydlogan merged 4 commits intoopencast:mainfrom
Arnei:cant-go-back-from-processing
May 5, 2025
Merged

Fix being unable to step back in event modal#1153
gregorydlogan merged 4 commits intoopencast:mainfrom
Arnei:cant-go-back-from-processing

Conversation

@Arnei
Copy link
Copy Markdown
Member

@Arnei Arnei commented Mar 14, 2025

Fixes a bug occurring in the create event modal. When scheduling an event, going back from the "proccesing" step to the "source" step was not possible if the "asset upload" step was also configured.

Bildschirmfoto_2025-03-14_um_04 48 57

How to test this

You will need an Opencast with asset upload options configured (see also https://docs.opencast.org/develop/admin/#configuration/admin-ui/asset-upload/).
Or cheat by checking out the code and setting hidden in line https://github.com/opencast/opencast-admin-interface/blob/57e21b1a7f3d272df09a68e19f1345055dcab2e5/src/components/events/partials/wizards/NewEventWizard.tsx#L86 to false.

Fixes a bug occuring in the create event modal.
When scheduling an event, going back from the "proccesing"
step to the "source" step was not possible
if the "asset upload" step was also configured.
@Arnei Arnei added the type:bug Something isn't working label Mar 14, 2025
@github-actions
Copy link
Copy Markdown
Contributor

Use docker or podman to test this pull request locally.

Run test server using develop.opencast.org as backend:

podman run --rm -it -p 127.0.0.1:3000:3000 ghcr.io/opencast/opencast-admin-interface:pr-1153

Specify a different backend like stable.opencast.org:

podman run --rm -it -p 127.0.0.1:3000:3000 -e PROXY_TARGET=https://stable.opencast.org ghcr.io/opencast/opencast-admin-interface:pr-1153

It may take a few seconds for the interface to spin up.
It will then be available at http://127.0.0.1:3000.
For more options you can pass on to the proxy, take a look at the README.md.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 20, 2025

This pull request is deployed at test.admin-interface.opencast.org/1153/2025-03-20_15-02-28/ .
It might take a few minutes for it to become available.

@github-actions
Copy link
Copy Markdown
Contributor

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

@NadiaUoM
Copy link
Copy Markdown
Contributor

I try to reproduce this issue with the main branch code but couldn't do it? can you please share the video if possible?

@Arnei
Copy link
Copy Markdown
Member Author

Arnei commented Apr 28, 2025

I forgot to mention that in the "source" step you will have to schedule an event. (To be able to schedule an event, a capture agent needs to be configured. You can easily configure a dummy capture agent through the Opencast endpoint /capture-admin/agents/{name}).

Here's a video

Bildschirmaufzeichnung.vom.2025-04-28.09-15-05.webm

@NadiaUoM
Copy link
Copy Markdown
Contributor

Thank you for the inputs...

@gregorydlogan gregorydlogan self-assigned this May 5, 2025
gregorydlogan added a commit to gregorydlogan/admin-interface that referenced this pull request May 5, 2025
…nterface into main

Pull request opencast#1153

  Fix being unable to step back in event modal
@gregorydlogan gregorydlogan merged commit 458a674 into opencast:main May 5, 2025
5 checks passed
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

Successfully merging this pull request may close these issues.

3 participants