-
Notifications
You must be signed in to change notification settings - Fork 9
Fix for incorrect filename if copying attachments after renaming the source attachment #351
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
Changes from all commits
f370d67
1c10b66
c8e5cd8
100cfa4
65fefa6
25f64a8
afe5676
a588e4f
c406695
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -231,10 +231,6 @@ private void createDraftEntries(CreateDraftEntriesRequest request) { | |
|
|
||
| String fileName = attachmentMetadata.get(0); | ||
| String mimeType = attachmentMetadata.get(1); | ||
| if (mimeType.equalsIgnoreCase("application/internet-shortcut")) { | ||
| int dotIndex = fileName.lastIndexOf('.'); | ||
| fileName = fileName.substring(0, dotIndex); | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why this is removed
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Earlier we were reading Whereas cmis:name doesn't have .url appended with the name of the link, so I have removed this part of code |
||
| } | ||
| String newObjectId = attachmentMetadata.get(2); | ||
|
|
||
| updatedFields.put("objectId", newObjectId); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.