Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3117

Document upload doesn't work on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 7.8.0.GA, 7.8.1.GA
    • Fix Version/s: None
    • Component/s: Form Modeler
    • Labels:
    • Target Release:
    • Steps to Reproduce:
      Hide

      Just follow the documentation.

      Show
      Just follow the documentation .
    • Affects:
      Release Notes
    • Release Notes Text:
      Document upload using generated forms doesn't work on Windows.
    • Sprint:
      2020 Week 37-39 (from Sep 7)
    • QE Test Coverage:
      -

      Description

      Details can be found in the discussion:

      https://access.redhat.com/discussions/5306951

       The path where to store a document is composed of

      • document store path
      • document id
      • document name

      as can be seen in the source code.

      So it should look like

      .docs\388f4d34-b732-48d6-b898-d00fd8bb1cf3\a.pdf
      

      However, on Windows the whole path of the document is taken from the form as a document name which causes a malformed URL to be created:

      .docs\388f4d34-b732-48d6-b898-d00fd8bb1cf3\D:\test\a.pdf
      

      I have tried the same scenario using Fedora and there is just the name displayed upon uploading, so it works on Linux correctly, see the screenshot.
       

        Attachments

          Activity

            People

            Assignee:
            abkuma abhishek kumar
            Reporter:
            mmacik Marian Macik
            Tester:
            Prashanth TS Prashanth TS
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: