Skip to content

datasetversion_id not being written to guestbookresponse on initial dataset page open/refresh when 'multi file' Download button clicked #5864

@mdmADA

Description

@mdmADA

tested on v 4.13 but applies to earlier versions:

Scenario:

  1. Open a dataset page (choose one with open files just to make process quicker)
  2. Choose any number of files
  3. Click the 'multi-file' Download button above the file panel
  4. Files download
  5. The datasetversion_id value is NOT written to guestbookresponse

Repeat as many times as desired - same result

  1. Click one of the individual file 'Download' buttons.

  2. File downloads

  3. The datasetversion_id IS written to guestbookresponse

  4. Choose several files and use the 'multi-file' Download button

  5. Files download

  6. The datasetversion_id IS written to guestbookresponse

Now refresh the dataset page. The scenario starts at 1 again.

So it seems that the datasetversion_id is only set, and therefore written to guestbookresponse, in the DataversePage.java on the Individual download click.

Until one of the individual download buttons is clicked, then, the dasetversion_id is not set and so will not be written to the guestbookresponse table.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: JSFInvolves modifying JSF (Jakarta Server Faces) code, which is being replaced with React.Feature: GuestbookType: Buga defectUser Role: SysadminInstalls, upgrades, and configures the system, connects via ssh

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions