Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Uploaded files are out of order when signing #75

Open
johnnycupcakes opened this issue Mar 26, 2018 · 3 comments
Open

Uploaded files are out of order when signing #75

johnnycupcakes opened this issue Mar 26, 2018 · 3 comments
Labels
bug legacy Related to legacy, non-OpenAPI SDK

Comments

@johnnycupcakes
Copy link

When sending a signature request using multiple documents the file order does not remain consistent.

This issue is for the /signature_request/create_embedded and /signature_request/send endpoints

Thank you for your help!

@jyoung488
Copy link

A workaround using the Unirest for Java library to send a signature request with ordered files:

HttpResponse<String> response = Unirest.post("https://[api key]:@api.hellosign.com/v3/signature_request/send")
     .header("accept", "application/json")
     .field("signers[0][name]", "Signer Name")
     .field("signers[0][email_address]", "[email protected]")
     .field("title", "Java Unirest Signature Request Title")
     .field("test_mode", 1)
     .field("file[0]", new File("../application.pdf"))
     .field("file[1]", new File("../links.pdf"))
     .field("file[2]", new File("../Psyduck.pdf"))
     .asString();

@mashley806
Copy link

Trying workaround. A fix for this would be great though. :-)

@jspaetzel jspaetzel added the bug label Jan 8, 2019
@chunker-admin
Copy link

chunker-admin commented Nov 12, 2019

This is a huge issue for anyone using Hellosign to create a legal document with addendum attachments or other legal attachments. In our case, the attachments are getting added in a random order, which is very unhelpful. I have reviewed the code and the problem appears that a Map is used to store the files then when the request is created, the map keys are iterated. Maps are not ordered, and thus the issue.

@jtreminio-dropbox jtreminio-dropbox added the legacy Related to legacy, non-OpenAPI SDK label Jun 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug legacy Related to legacy, non-OpenAPI SDK
Projects
None yet
Development

No branches or pull requests

6 participants