Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      Currently when a user enters a malformed URL the submit app page accepts the URL without validating and throws an Internal Server Error.

      We need to handle this Exception and Let the user know that they have typed a malformed URL

      1. IGBF-2025-1.PNG
        114 kB
      2. IGBF-2025-2.PNG
        108 kB
      3. scenario-1.PNG
        108 kB
      4. scenario-2.PNG
        109 kB
      5. scenario-3.PNG
        114 kB

        Issue Links

          Activity

          Show
          sameer Sameer Shanbhag added a comment - Pull Request Submitted: https://bitbucket.org/lorainelab/appstore/pull-requests/124/igbf-2025-fix-type-handling-issue/diff
          Hide
          noor91zahara Noor Zahara added a comment -

          Issue Observed - Once delete button is clicked and again valid jar url is entered, the same error ( "Please upload a file or Enter a URL " ) occurs.

          Steps to reproduce -
          1. Enter a url
          2. Delete the url using the trask icon
          3.Enter a valid url
          4. Click on Next

          Show
          noor91zahara Noor Zahara added a comment - Issue Observed - Once delete button is clicked and again valid jar url is entered, the same error ( "Please upload a file or Enter a URL " ) occurs. Steps to reproduce - 1. Enter a url 2. Delete the url using the trask icon 3.Enter a valid url 4. Click on Next
          Hide
          sameer Sameer Shanbhag added a comment -
          Show
          sameer Sameer Shanbhag added a comment - Fixed and Pull Request Raised: https://bitbucket.org/lorainelab/appstore/pull-requests/130/igbf-2025-1/diff
          Hide
          aloraine Ann Loraine added a comment -

          Merged to master. Deployed to https://dev-appstore-2.bioviz.org

          Show
          aloraine Ann Loraine added a comment - Merged to master. Deployed to https://dev-appstore-2.bioviz.org
          Hide
          rpatil14 Riddhi Jagdish Patil added a comment -

          Successfully tested following scenarios:
          1) In Upload from URL just enter jar name without proper url path. ex. "fake-app.jar"
          2) In Upload from URL enter incorrect url path to the jar ex. https://bitbucket.org/super-simple-igb-app-0.0.3.jar
          3) In Upload from URL enter incorrect domain name for the path to the jar ex. https://fakebucket.org/lorainelab/super-simple-igb-app/downloads/super-simple-igb-app-0.0.3.jar
          4) In Upload from URL enter incorrect, click Next, delete url using thrash icon, enter valid url and click Next

          Marking this ticket done
          cc. Ann Loraine

          Show
          rpatil14 Riddhi Jagdish Patil added a comment - Successfully tested following scenarios: 1) In Upload from URL just enter jar name without proper url path. ex. "fake-app.jar" 2) In Upload from URL enter incorrect url path to the jar ex. https://bitbucket.org/super-simple-igb-app-0.0.3.jar 3) In Upload from URL enter incorrect domain name for the path to the jar ex. https://fakebucket.org/lorainelab/super-simple-igb-app/downloads/super-simple-igb-app-0.0.3.jar 4) In Upload from URL enter incorrect, click Next, delete url using thrash icon, enter valid url and click Next Marking this ticket done cc. Ann Loraine

            People

            • Assignee:
              rpatil14 Riddhi Jagdish Patil
              Reporter:
              sameer Sameer Shanbhag
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development

                  Agile