5sControl / 5sControl/5s-frontend

Incorrect responses to uploaded files

Aperta
#878 0 commenti 0 reazioni 1 assegnatario Rivendicata da @Ivan0195 Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
3
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

ОС: macOS
Браузер: Google Chrome

Precondition:
Go to http://192.168.1.120:85/auth/login
Log in to the system
Create a new "Asset Class"
Create "Asset"

Description:
When adding a new "Notes" TaqChat does not respond to the new loaded "Notes". It responds incorrectly or responds that it has no information

Steps:
1. Go to "Templates"
2. Create a new "Template"
3. Link to the desired "Asset Class"
4. Go to the "Connect" tab
5. Select "TaqChat"
6. Send a message with the text "#templateid=6284 The air conditioning is not working well, what could this be related to?"
7. Send a message with the text "The remote control shows error message E101. Do you know what this error means?"
8. Go to the "Templates" tab
9. Load additional "Notes"
10. Return to "TaqChat"
11. Send a message with the text "The remote control shows error message E101. Do you know what this error means?"
12. Send a message with the text "I got error F202. Do you know what this error code is?"

Expected result:
Answers should be constructive and structured. If there is no information to the question, then answer that additional files need to be downloaded or the information is missing.

Actual result:
Responds incorrectly even with compatible files

Request 1
Request 2
Request 3
Request 4
Text 1
Text 2

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

The issue involves the TaqChat component's handling of uploaded 'Notes' files. Look for the chat interface and file upload logic in the frontend codebase, likely under components related to 'Templates' and 'Connect'. Check how the frontend sends messages and if it properly includes the template ID and references newly uploaded files. The actual result shows incorrect responses, so inspect the API calls and state management for file associations.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
react, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.