Issue with adding attachment with same name #5149
Labels
sample: js-advanced-commenting
type:bug-suspected
Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs
Disclaimer
Yes
Sample
https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-advanced-commenting
Contributor(s)
@a1mery , @wideserg , @sudharsank
What happened?
While adding an attachment to the commenting box, if the attachment name already exist in the library path, the system will go in to indefinite loading spinner.
Steps to reproduce
Expected behavior
the filename should be renamed with the file_id while storing in the library, and the file with same file_id need to be fetched to display in the commenting box and this could potential solve the issue.
Target SharePoint environment
SharePoint Online
Developer environment
None
Browsers
What version of Node.js is currently installed on your workstation?
Compactable
What version of Node.js is required by the sample?
Compactable
Paste the results of SPFx doctor
Nil
Additional environment details
nil
The text was updated successfully, but these errors were encountered: