File path support for non-COUNTER reports

Description

Description

As a user, I would like to be able to enter a file path in the web form "Upload non-COUNTER report" in addition to a URL so that I can later click on this stored file path in the window "Customreport info" so that the browser follows the file path and offers options for working with the file.

Use Case

Non-COUNTER reports may be stored on a separate file system, e.g. the institution's NAS.

Concept / Screenshots

Upload non-COUNTER report

In the web form "Upload non-COUNTER report", the label for the input field "Link URL" should be changed to "Link URL / File Path". In the input field I can enter a valid URL or a valid URI for a file path. The file path should be independently of the operating system. The input value must be validated in both cases.

upload_noncounter_report.png

Customreport info

If I entered a file path, the file path should be clickable in the window for displaying information about the "non-COUNTER report". After the click on the file path the browser follows to the file path to the storage location and offer the different options to work with this non-Counter report.

customreport_info.png

Browser options

browser.PNG

Acceptance criterias (UAT)

  • In the web form "Upload non-COUNTER report"

    • The label for the input field is "Link URL / File path".

    • As a user I can enter and save a valid URL or a valid file path in the input field "Link URL / File path". The file path is independently of the operating system. The input value is validated in both cases.

  • In the window "Customreport info"

    • If a file path was entered, the file path is clickable. After the the click on the file path the browser follow to the file path to the storage location and offer the different options to work with this non-Counter report.

Environment

None

Potential Workaround

None

Attachments

3
  • 19 Jun 2024, 02:16 PM
  • 19 Jun 2024, 02:16 PM
  • 19 Jun 2024, 02:16 PM

Checklist

hide

Activity

Show:

Stefan Dombek December 5, 2024 at 12:41 PM

Thank you for the clarification. I have changed my browser settings to test it. It is working. I will make a note in the end user documentation.

Viola E. December 4, 2024 at 4:03 PM
Edited

In general the link is always clickable (its always an <a>-element with the link set to an href-attribute), but its depending on the Security Restrictions of the browser if the link is supported or not. That is why it seems nothing to happen.
Security Restrictions:
Browsers restrict file access for pages served over HTTP/HTTPS to prevent malicious scripts from accessing local files without the user's consent.
Allowing file:// URLs could be a serious vulnerability, as it might expose sensitive files.

Tino and me are both of the opinion, that we should not influence or change the standard behaviour of the browser.

Stefan Dombek December 4, 2024 at 2:39 PM

Unfortunately, the file path shown in the window “Customreport info” is not clickable. After clicking on the file path, the browser should follow the file path to the location and offer the various options for working with this non-counter report.

Tested with:

  • Firefox 131.0.3

  • Chrome 131.0.6778.109

Done

Details

Assignee

Reporter

Labels

Priority

Sprint

Development Team

Leipzig

Fix versions

Release

Sunflower (R1 2025)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created June 19, 2024 at 2:16 PM
Updated March 12, 2025 at 10:12 AM
Resolved December 6, 2024 at 7:43 AM
TestRail: Cases
TestRail: Runs

Flag notifications