UAL-RE / LD-Cool-P

Python tool to enable data curation
MIT License
4 stars 5 forks source link

Long Qualtrics links a problem for Outlook #144

Closed astrochun closed 3 years ago

astrochun commented 3 years ago

Describe the bug (REQUIRED) Links for the Qualtrics README are encoded to contain content. However, it seems that some of these links can be very long. @zoidy reported an issue that two deposits were too long that Outlook truncated the link.

Reproduction Steps (REQUIRED) It appears that links don't work on Windows. It works for macOS and OWA. Not sure how Damian managed to send the email as I was not able to provide a very long link.

Outputted Messages (REQUIRED) Provide the full message log if possible or a subset that includes a few lines before the failure:

Version information (please complete the following, default in brackets): (REQUIRED)

Expected behavior (Optional) A clear and concise description of what you expected to happen.

Screenshots (Optional) If applicable, add screenshots to help explain your problem.

Additional context (Optional) There is no native way to shorten Qualtrics links. Everyone on Qualtrics recommends a URL shortener. See for example: https://libguides.library.kent.edu/qualtrics/shorter-links

This will be implemented in feature/144_url_shorten

astrochun commented 3 years ago

I examined the issue for two deposits and they were 2213 and 3673 in length.

I found this blog that discuss URL shortener. It seems that TinyURL is the only one that we can consider using.

UPDATE: This python codebase seems very mature and works with multiple URL shortener. It also allows us to identify which one accepts API_KEY

damian-romero commented 3 years ago

For the Qualtrics links, what I did was to send those over Google Chrome. I didn't run into any issues.

astrochun commented 3 years ago

For the Qualtrics links, what I did was to send those over Google Chrome. I didn't run into any issues.

We had thought so since it seems that Microsoft Outlook on MacOS and Windows fails in certain circumstances.

astrochun commented 3 years ago

I also looked at Qualtrics API to see if there's a way to do personal links. Though I don't think this can include the level of embedded data that we want, so I'm fairly sure a URL shortener is the way to go.