-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chat - Non-Roman Alphabet file name of the Word document replaced with underscores in the chat #19616
Comments
Triggered auto assignment to @conorpendergrast ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Non english filenames are getting transformed and should remain as is. What is the root cause of that problem?The root cause of this problem sits somewhere on the database side. From the front end we're correctly sending the information in a non translated text. Please see attachment below: What changes do you think we should make in order to solve the problem?We probably have this function somewhere on the backend/database as well that replaces special characters with underscores. We should not let the fileName run through that function The function would look something like this: App/src/libs/fileDownload/FileUtils.js Lines 117 to 119 in 4d6a25f
What alternative solutions did you explore? (Optional) |
Reproduced. I'm going to move this internally for now, as a quick sense-check |
Triggered auto assignment to @stitesExpensify ( |
Job added to Upwork: https://www.upwork.com/jobs/~013bf8b1c16439107d |
Triggered auto assignment to Contributor Plus for review of internal employee PR - @thesahindia ( |
@stitesExpensify I can't think of a risk to no longer replacing non-Roman Alphabet characters in filenames with underscores, can you? |
Hmm, it could be a technical requirement of AWS or something, I'm not really sure. Let me check in #infra |
I found where we added that code, I reached out to @thienlnam to find out why |
So I talked to Jack and he thinks it's likely a restriction of the PDF server. I can try removing the code that does this, but if it doesn't work then I think we should just close the issue for now. It's not technically a bug, more of an inconvenience |
Looks like this was changed on the front end as well so now the preview shows |
Sounds good to me: not a bug, but a feature request to support a wider variety of alphabets 👍 |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Щенок.docx
)Expected Result:
The Non-Roman Alphabet file name of the Word document is visible in the preview and in the chat
Actual Result:
The Non-Roman Alphabet file name of the Word document is visible in the preview (eg:
Щенок.docx
), but not in the chat. In the chat, the filename is replaced with underscores (eg:_____.docx
)Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.18.2
Reproducible in staging?: yes
Reproducible in production?: yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://platform.applause.com/services/links/v1/external/4ac54105bdde2c9fa5e19899833a32bdda7a33eb9b87abf81b444fa0a15220d9
https://platform.applause.com/services/links/v1/external/877d86acf3d128c0e536c122120b0c93061351a6508a04506b5e5e2a109a04ef
https://platform.applause.com/services/links/v1/external/997d7e9b002cee4da49a64c07db89591e474b86733161cead6efbe09b3e678b2
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: