Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

BACKLOG-23244: Get bundle id regardless of bundle context status #194

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

baptistegrimaud
Copy link
Contributor

JIRA

https://jira.jahia.org/browse/BACKLOG-23244

Description

Instead of retrieving the bundle id via the bundle context, retrieve it from the component's class.
This prevents an IllegalStateException to be thrown if the bundle context is no longer valid.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant