Skip to content
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

Issue with adding attachment with same name #5149

Open
2 of 9 tasks
libin-math opened this issue May 10, 2024 · 0 comments
Open
2 of 9 tasks

Issue with adding attachment with same name #5149

libin-math opened this issue May 10, 2024 · 0 comments
Labels
sample: js-advanced-commenting type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs

Comments

@libin-math
Copy link

libin-math commented May 10, 2024

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

  1. upload an image to the comment box
  2. re-upload the same image in the comment box

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

  • Internet Explorer
  • Microsoft Edge
  • Google Chrome
  • FireFox
  • Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

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

@libin-math libin-math added the type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sample: js-advanced-commenting type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs
Projects
None yet
Development

No branches or pull requests

2 participants