Skip to content

fix(footer): handle null/undefined version data gracefully#385

Open
Ishitadubeyy wants to merge 1 commit into
fossology:mainfrom
Ishitadubeyy:patch-4
Open

fix(footer): handle null/undefined version data gracefully#385
Ishitadubeyy wants to merge 1 commit into
fossology:mainfrom
Ishitadubeyy:patch-4

Conversation

@Ishitadubeyy

Copy link
Copy Markdown

This PR improves the footer by handling missing or unavailable version metadata more gracefully.

Previously, when the backend version information was not available or not configured, the footer could display null or undefined values directly in the UI. This created a poor user experience, especially for contributors or users running the frontend without a fully configured backend environment.

This change ensures that the footer now shows a clean fallback message instead of rendering incomplete metadata.

Changes
Updated the footer rendering logic to safely handle missing version information
Prevented null and undefined values from appearing in the UI
Added a fallback message when version metadata is unavailable
How to test
Run the application without backend version information available
Open the UI and check the footer section
Confirm that it no longer displays null or undefined
Verify that a clean fallback message such as "Version information unavailable" is shown instead
If backend version data is available, confirm that the footer still renders version details correctly

Closes #243

Prevent footer from displaying null or undefined values when version data is unavailable.
@github-actions github-actions Bot added the has merge conflicts PR has merge conflicts, require rebase label Jun 18, 2026
@github-actions

Copy link
Copy Markdown

This pull request has conflicts, please rebase to resolve those before we can evaluate the pull request.

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

Labels

has merge conflicts PR has merge conflicts, require rebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The Footer has null and undefined values

1 participant