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

🐛 Bug Report: Upload Documents Names field is editable Causing Wrong file Upload Name. #809

Closed
2 tasks done
ArnabBCA opened this issue Dec 26, 2023 · 3 comments
Closed
2 tasks done
Assignees

Comments

@ArnabBCA
Copy link
Contributor

ArnabBCA commented Dec 26, 2023

📜 Description

The Name Field in the Upload Documents is Editable causing wrong file upload name.
As a result incorrect document name is stored in the backend.

👟 Reproduction steps

  1. Go to https://docsgpt.arc53.com/
  2. Click on Upload Button
  3. Upload any document
  4. Change the Document Name in the Name Field
  5. Click on Train
  6. Go to the Settings then Documents Tab
  7. See the Wrong File Upload Name

👍 Expected behavior

The Name Field Should not allow to be editable. It should only allow actual document name.

👎 Actual Behavior with Screenshots

Original Document Name is MyDocument.pdf
D1

Writing Wrong document Name
D2

Incorrect Document Name is Stored
D3

💻 Operating system

Windows

What browsers are you seeing the problem on?

Chrome

🤖 What development environment are you experiencing this bug on?

Docker

🔒 Did you set the correct environment variables in the right path? List the environment variable names (not values please!)

No response

📃 Provide any additional context for the Bug.

Putting readonly attribute in the Input Field should solve the problem

No response

📖 Relevant log output

No response

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue

🔗 Are you willing to submit PR?

Yes, I am willing to submit a PR!

🧑‍⚖️ Code of Conduct

  • I agree to follow this project's Code of Conduct
@ArnabBCA
Copy link
Contributor Author

ArnabBCA commented Dec 26, 2023

@dartpain @tenokami I want to work on this issue can you assign me.

@Jessy-py
Copy link

How can I help out with this issue?

@ArnabBCA
Copy link
Contributor Author

@dartpain submited the PR pls take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants