Skip to content

When uploading a new bitstream via new "Edit" menu, bitstream is not displayed until reload #5380

@tdonohue

Description

@tdonohue

Describe the bug

This issue was found during testing of #5145, the PR which adds this new "Edit" menu (via submission form).

If you use the new Edit (via form) menu to modify an existing Item, and then upload a new Bitstream, then the new Bitstream will not be displayed on the Item's page until you reload the page. This appears to be a caching issue in the UI.

To Reproduce

Steps to reproduce the behavior:

  1. Modify any archived Item or Entity using the new "Edit" menu
  2. On the Edit Form, upload a new Bitstream to this Item or Entity. Click "Save and Return"
  3. You will be back on the Item/Entity page, but the newly uploaded Bitstream will NOT appear.
  4. Now, reload the page in your browser window and the newly uploaded Bitstream will appear.

Expected behavior

Obviously, any newly uploaded Bitstreams should appear immediately on the Item page.

Related work

This "Edit" menu (via submission form) was introduced in #5145.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DSpace-CRIS mergerThis ticket/PR relates to the merger of DSpace-CRIS into DSpace.affects: mainIssue impacts "main" (latest release).bughelp wantedNeeds a volunteer to claim to move forwardperformance / cachingRelated to performance, caching or embedded objects

    Type

    Projects

    Status

    ✅ Done

    Status

    ✅ Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions