Skip to content

[Bug]: Reloading a page or opening a deep link without a loaded file must not crash  #58

Open

Description

@samatstariongroup

What type of issue is this?

  • Bug report
  • Feature request

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of the reqifviewer
  • I have searched open and closed issues to ensure it has not already been reported

Description

The loaded file lives in server memory per connection. Opening a shared link, or reloading any page such as /reqif/{id}/specobjects, gives a 500 error: ArgumentNullException: Value cannot be null. (Parameter 'source') in SpecObjectsComponent.OnParametersSet.

Acceptance criteria

  • Every page handles "no document loaded" or "unknown identifier": it shows a friendly message with a button to open a file, instead of a 500 error.
  • Tests: each page rendered with an empty IReqIFLoaderService.
  • With [Feature]: Decide on, and if chosen, move to Blazor WebAssembly hosting  #64 (WebAssembly) the document can be restored after a reload; without it, the message explains that files are not kept on the server.

Steps to Reproduce

Load requirements-and-objects.reqifz or ProR_Traceability-Template-v1.0.reqif (reqifviewer.Tests/TestData) and look at the pages mentioned above.

System Configuration

Activity

  1. added
    bug
    phase-0
    on Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugphase-0

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions