Skip to content

LifeCycle Policies - Squashed#1571

Open
Arnei wants to merge 2 commits intoopencast:developfrom
Arnei:lifecycle-write-squashed
Open

LifeCycle Policies - Squashed#1571
Arnei wants to merge 2 commits intoopencast:developfrom
Arnei:lifecycle-write-squashed

Conversation

@Arnei
Copy link
Copy Markdown
Member

@Arnei Arnei commented Apr 8, 2026

Originally #1004.

The old PR for lifecycle policies was old, had many commits and many merges. Creating a squashed commit seemed like the simplest option to bring lifecycle policies from the old history to the new history.

Instead of only being able to view lifecycle policies, this commit lets you edit them, create new ones and even delete them.

Depends on changes to the backend: opencast/opencast#6139. These changes are currently pointed at develop.

To test this, you'll need an Opencast with backend changes mentioned above.

Demonstration:
Bildschirmaufzeichnung vom 2024-12-04 10-45-28.webm

@Arnei Arnei added the type:enhancement New feature or request label Apr 8, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

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-1571

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-1571

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.

@Arnei Arnei force-pushed the lifecycle-write-squashed branch from 2270051 to 529113d Compare April 8, 2026 12:30
@github-actions
Copy link
Copy Markdown
Contributor

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

@Arnei Arnei force-pushed the lifecycle-write-squashed branch from d0fa2e2 to 58df430 Compare April 14, 2026 09:11
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 14, 2026

This pull request is deployed at test.admin-interface.opencast.org/1571/2026-04-14_09-27-07/ .
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.

@ferishili ferishili self-requested a review April 20, 2026 11:26
@ferishili ferishili self-assigned this Apr 20, 2026
@ferishili
Copy link
Copy Markdown
Contributor

ferishili commented Apr 20, 2026

There are currently two major errors that prevent me from continuing with deeper testing:


  1. The sort parameter is undefined:
    GET | http://localhost:3000/api/lifecyclemanagement/policies?limit=10&offset=0&sort=undefined:undefined
Screenshot 2026-04-20 at 13 28 34
  1. In the Create modal, as soon as I navigate to the Access Policy step/tab, an error appears:

In HTML, <td> cannot be a child of <td>.

Screenshot 2026-04-20 at 13 31 09

That would nice to have a rebase here as well!

Thanks @Arnei

Arnei added 2 commits April 21, 2026 09:44
The old PR for lifecycle policies was old, had many commits and
many merges. Creating a squashed commit seemed like
the simplest option to bring lifecycle policies from the old
history to the new history.
@Arnei Arnei force-pushed the lifecycle-write-squashed branch from a7f07d3 to 8e01070 Compare April 21, 2026 07:46
@Arnei
Copy link
Copy Markdown
Member Author

Arnei commented Apr 21, 2026

For the first error, try clearing cookies and website data for the page.
For the second error, that currently appears in every Access Policy tab (not just lifecycle policies), even outside of this PR. It should not prevent you from testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants