Skip to content

Fix datetime-local field for workflow config#1616

Open
Arnei wants to merge 1 commit into
opencast:r/19.xfrom
Arnei:datetime-local-bug
Open

Fix datetime-local field for workflow config#1616
Arnei wants to merge 1 commit into
opencast:r/19.xfrom
Arnei:datetime-local-bug

Conversation

@Arnei

@Arnei Arnei commented Jun 10, 2026

Copy link
Copy Markdown
Member

Fixes #1613

datetime-local fields in workflow config panels would not render, this patch fixes that.
It also fixes a bug where the specified value for the field would be ignored.

How to test this

A workflow config panel can be found for example in the create event dialog.

You'll need to be able to change workflow definitions in the Opencast backend. For example, you could add the following to the configuration_panel_json of the schedule-and-upload workflow.

      {
        "type": "datetime-local",
        "name": "MyDate",
        "label": "This is a date",
        "value": "2026-07-01T12:12:12"
      }

@Arnei Arnei added the type:bug Something isn't working label Jun 10, 2026
@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/admin-interface:pr-1616

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/admin-interface:pr-1616

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.

datetime-local fields in workflow config panels would not render, this
patch fixes that.
It also fixes a bug where the specified value for the field
would be ignored.
@Arnei Arnei force-pushed the datetime-local-bug branch from 954a8fa to 4ae2c03 Compare June 11, 2026 07:42
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.

1 participant