Skip to content

[Tool #117] SEO Metadata Workbench silently clears the report after invalid JSON #376

Description

@baixiangcpp

Summary

SEO Metadata Workbench clears the existing report after Analyze fails on invalid JSON, but does not show any user-visible parsing or validation error.

Affected tool: SEO Metadata Workbench
Route: https://byteflow.tools/en/seo-metadata-workbench
Observed during browser acceptance: 2026-08-18

Reproduction

  1. Open the affected route.
  2. Click Sample to load the metadata configuration.
  3. Click Analyze and confirm that the SEO report is generated.
  4. Replace the configuration with:
{bad
  1. Click Analyze again.
  2. Inspect the report area and status/error feedback.

Actual output

  • The previous SEO report is cleared.
  • No Invalid JSON message is shown.
  • No parse error or actionable validation feedback is visible.
  • Analyze appears to have completed without producing a report, but the user is not told why.

Expected output

Analyze should show a clear user-visible error, such as Invalid JSON with enough detail to correct the input. The report should either remain marked as stale or be cleared together with an explicit error state; it must not silently disappear.

Impact

Users cannot distinguish an invalid configuration from an empty report or a tool failure, making the analyzer difficult to use and troubleshoot.

Regression coverage

Analyze valid JSON, malformed JSON, empty input, and valid JSON again. Assert that errors are visible and that Copy, Download, and report state cannot be mistaken for a successful analysis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions