Skip to content

[Bug]: Metadata fields not populated in view #954

@shoummu1

Description

@shoummu1

🐞 Bug Summary

Metadata fields display "N/A" instead of actual values in entity view modals.


🧩 Affected Component

Select the area of the project impacted:

  • mcpgateway - API
  • mcpgateway - UI (admin panel)
  • mcpgateway.wrapper - stdio wrapper
  • Federation or Transports
  • CLI, Makefiles, or shell scripts
  • Container setup (Docker/Podman/Compose)
  • Other (explain below)

🔁 Steps to Reproduce

  1. Navigate to Admin UI and view any tool details
  2. Click the "View" button for any tool
  3. Scroll down to the "Metadata" section
  4. Observe that fields like "Last Modified By", "Last Modified At", "Created By" show "N/A" even when data exists
  5. Compare with database query showing actual data is present

🤔 Expected Behavior

Metadata fields should display actual values from the database:

  • "Last Modified By" should show username (e.g., "[email protected]")
  • "Last Modified At" should show timestamp (e.g., "9/9/2025, 7:24:17 AM")
  • "Created By" should show username
  • "Created At" should show timestamp
  • Other metadata fields should show actual values instead of "N/A"

📓 Logs / Error Output

No error logs generated.


Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriageIssues / Features awaiting triage

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions